diff options
| author | Hans Verkuil <[email protected]> | 2022-01-26 11:02:04 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2022-02-28 22:52:20 +0000 |
| commit | 7795686d573de0438bba6b2b344e6b203223c889 (patch) | |
| tree | 05a02e3e095d4b3eed9ea5570f6d88cb6d53acf4 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | Linux 5.17-rc6 (diff) | |
| download | kernel-7795686d573de0438bba6b2b344e6b203223c889.tar.gz kernel-7795686d573de0438bba6b2b344e6b203223c889.zip | |
pinctrl-sunxi: sunxi_pinctrl_gpio_direction_in/output: use correct offset
The commit that sets the direction directly without calling
pinctrl_gpio_direction(), forgot to add chip->base to the offset when
calling sunxi_pmx_gpio_set_direction().
This caused failures for various Allwinner boards which have two
GPIO blocks.
Signed-off-by: Hans Verkuil <[email protected]>
Reported-by: 5kft <[email protected]>
Suggested-by: 5kft <[email protected]>
Reported-by: Corentin Labbe <[email protected]>
Fixes: 8df89a7cbc63 (pinctrl-sunxi: don't call pinctrl_gpio_direction())
Tested-by: Corentin Labbe <[email protected]>
Tested-by: Jernej Skrabec <[email protected]>
Acked-by: Jernej Skrabec <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
[Picked from linux-next to pinctrl fixes]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
