commit | d694b06c42a56c9610861ee0474b4d441af8ada6 | [log] [tgz] |
---|---|---|
author | Ed Spiridonov <edo.rus@gmail.com> | Fri Mar 04 09:07:27 2016 +0300 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Fri Mar 04 08:45:17 2016 +0100 |
tree | 1988f2ad6c038661dd1b5a925b624dad908c1332 | |
parent | c1bb0a5588816ec26abc08aa9adcf90e32656781 [diff] |
can: mcp251x: avoid write to error flag register if it's unnecessary Only two bits (RX0OVR and RX1OVR) are writable in EFLG, write is useless if these bits aren't set. Signed-off-by: Ed Spiridonov <edo.rus@gmail.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>