Skip to content
Snippets Groups Projects
Commit 62adc6f3 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski
Browse files

gpiolib: fix gpio_do_set_config()


Commit d90f3685 ("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: d90f3685 ("gpiolib: have a single place of calling set_config()")
Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
Tested-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 91b4ea5f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment