summaryrefslogtreecommitdiff
path: root/drivers/ptp/ptp_pch.c
diff options
context:
space:
mode:
authorYangbo Lu <yangbo.lu@nxp.com>2019-01-21 13:41:38 +0300
committerDavid S. Miller <davem@davemloft.net>2019-01-23 07:21:57 +0300
commitb0bc10cc8887214c997bfe4f47217b04db4733a2 (patch)
treed9265916dd5e46293bd5fdfc32f85f183e956123 /drivers/ptp/ptp_pch.c
parented175d9c6f0d4df0f83f22ff4c887c21b7d021cd (diff)
downloadlinux-b0bc10cc8887214c997bfe4f47217b04db4733a2.tar.xz
ptp_qoriq: fix interrupt enabling and handling
The tmr_tevent register would update event bits no matter tmr_temask bits were set or not. So we should get interrupts by tmr_tevent & tmr_temask, and clean up interrupts in tmr_tevent before enabling them. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ptp/ptp_pch.c')
0 files changed, 0 insertions, 0 deletions