diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-02-03 14:16:16 +0100 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-02-10 10:55:18 +0100 |
commit | 62adc6f33d6f3c0f4831389dec0f82ea6e9a489f (patch) | |
tree | 8ea7ff016e7c419948e3993f5c559c658b31bf01 /README | |
parent | 91b4ea5fc57c6a0a1beea7056dc2f83e2ec6968c (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 'README')
0 files changed, 0 insertions, 0 deletions