diff options
| author | Adam Ford <[email protected]> | 2020-04-12 01:33:52 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2020-04-23 15:55:26 +0000 |
| commit | dc87f6dd058a648cd2a35e4aa04592dccdc9f0c2 (patch) | |
| tree | 9bfdcf3ae938445491c3189deea9e65765f8cc38 /tools/perf/scripts/python/compaction-times.py | |
| parent | Linux 5.7-rc2 (diff) | |
| download | kernel-dc87f6dd058a648cd2a35e4aa04592dccdc9f0c2.tar.gz kernel-dc87f6dd058a648cd2a35e4aa04592dccdc9f0c2.zip | |
gpio: pca953x: Fix pca953x_gpio_set_config
pca953x_gpio_set_config is setup to support pull-up/down
bias. Currently the driver uses a variable called 'config' to
determine which options to use. Unfortunately, this is incorrect.
This patch uses function pinconf_to_config_param(config), which
converts this 'config' parameter back to pinconfig to determine
which option to use.
Fixes: 15add06841a3 ("gpio: pca953x: add ->set_config implementation")
Signed-off-by: Adam Ford <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
