commit | b0bc10cc8887214c997bfe4f47217b04db4733a2 | [log] [tgz] |
---|---|---|
author | Yangbo Lu <yangbo.lu@nxp.com> | Mon Jan 21 18:41:38 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 22 20:21:57 2019 -0800 |
tree | d9265916dd5e46293bd5fdfc32f85f183e956123 | |
parent | ed175d9c6f0d4df0f83f22ff4c887c21b7d021cd [diff] |
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>