diff options
author | Wenhua Lin <Wenhua.Lin@unisoc.com> | 2024-01-09 15:38:48 +0800 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-01-22 11:38:08 +0100 |
commit | 84aef4ed59705585d629e81d633a83b7d416f5fb (patch) | |
tree | 5cc8a99c72ae9386bcb6e92b97312262c0734bef /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 805c74eac8cb306dc69b87b6b066ab4da77ceaf1 (diff) |
gpio: eic-sprd: Clear interrupt after set the interrupt type
The raw interrupt status of eic maybe set before the interrupt is enabled,
since the eic interrupt has a latch function, which would trigger the
interrupt event once enabled it from user side. To solve this problem,
interrupts generated before setting the interrupt trigger type are ignored.
Fixes: 25518e024e3a ("gpio: Add Spreadtrum EIC driver support")
Acked-by: Chunyan Zhang <zhang.lyra@gmail.com>
Signed-off-by: Wenhua Lin <Wenhua.Lin@unisoc.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions