diff options
author | Bruce Chen <bruce.chen@unisoc.com> | 2019-09-16 17:56:56 +0800 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-10-01 11:50:40 +0200 |
commit | e91aafcb51f3c5001ae76c3ee027beb0b8506447 (patch) | |
tree | 45ba4868f2272cf1d7bd6f87d47230a3cb3043cd /drivers/gpio/gpio-cadence.c | |
parent | be7ae45cfea97e787234e00e1a9eb341acacd84e (diff) |
gpio: eic: sprd: Fix the incorrect EIC offset when toggling
When toggling the level trigger to emulate the edge trigger, the
EIC offset is incorrect without adding the corresponding bank index,
thus fix it.
Fixes: 7bf0d7f62282 ("gpio: eic: Add edge trigger emulation for EIC")
Cc: stable@vger.kernel.org
Signed-off-by: Bruce Chen <bruce.chen@unisoc.com>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/gpio/gpio-cadence.c')
0 files changed, 0 insertions, 0 deletions