summaryrefslogtreecommitdiff
path: root/drivers/hwtracing/coresight/coresight-tpda.c
diff options
context:
space:
mode:
authorWenhua Lin <Wenhua.Lin@unisoc.com>2024-01-09 15:38:48 +0800
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-01-22 11:38:08 +0100
commit84aef4ed59705585d629e81d633a83b7d416f5fb (patch)
tree5cc8a99c72ae9386bcb6e92b97312262c0734bef /drivers/hwtracing/coresight/coresight-tpda.c
parent805c74eac8cb306dc69b87b6b066ab4da77ceaf1 (diff)
downloadlinux-84aef4ed59705585d629e81d633a83b7d416f5fb.tar.gz
linux-84aef4ed59705585d629e81d633a83b7d416f5fb.tar.bz2
linux-84aef4ed59705585d629e81d633a83b7d416f5fb.zip
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 'drivers/hwtracing/coresight/coresight-tpda.c')
0 files changed, 0 insertions, 0 deletions