On Thu, Sep 17, 2020 at 09:48:57AM +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bgolaszew...@baylibre.com>
> 
> It's possible for a GPIO chip to not have a parent device (whose
> properties we inspect for 'gpio-line-names'). In this case we should
> simply return from devprop_gpiochip_set_names(). Add an appropriate
> check for this use-case.
> 
> Fixes: 7cba1a4d5e16 ("gpiolib: generalize devprop_gpiochip_set_names() for 
> device properties")
> Reported-by: Anders Roxell <anders.rox...@linaro.org>
> Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com>
> Reviewed-by: Andy Shevchenko <andriy.shevche...@linux.intel.com>
> Tested-by: Anders Roxell <anders.rox...@linaro.org>

FWIW,

Reviewed-by: Mika Westerberg <mika.westerb...@linux.intel.com>

Reply via email to