[PATCH 3.4 053/125] can: sja1000: clear interrupts on start

2016-10-12 Thread lizf
From: Mirza Krak 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 7cecd9ab80f43972c056dc068338f7bcc407b71c upstream. According to SJA1000 data sheet error-warning (EI) interrupt is not cleared by setting the

[PATCH 3.4 053/125] can: sja1000: clear interrupts on start

2016-10-12 Thread lizf
From: Mirza Krak 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 7cecd9ab80f43972c056dc068338f7bcc407b71c upstream. According to SJA1000 data sheet error-warning (EI) interrupt is not cleared by setting the controller in to reset-mode.