summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-lp87565.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2020-02-03 14:16:16 +0100
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-02-10 10:55:18 +0100
commit62adc6f33d6f3c0f4831389dec0f82ea6e9a489f (patch)
tree8ea7ff016e7c419948e3993f5c559c658b31bf01 /drivers/gpio/gpio-lp87565.c
parent91b4ea5fc57c6a0a1beea7056dc2f83e2ec6968c (diff)
gpiolib: fix gpio_do_set_config()
Commit d90f36851d65 ("gpiolib: have a single place of calling set_config()") introduced a regression where we don't pass the right variable as argument to the set_config() callback of gpio driver from gpio_set_config(). After reverting two additional patches that came on top of it - this addresses the issue by changing the type of the last argument of gpio_do_set_config() to unsigned long and making sure the packed config variable is actually used in gpio_set_config(). Fixes: d90f36851d65 ("gpiolib: have a single place of calling set_config()") Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Tested-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/gpio/gpio-lp87565.c')
0 files changed, 0 insertions, 0 deletions