commit | d3cd15657516141adce387810be8cb377baf020e | [log] [tgz] |
---|---|---|
author | Marc Kleine-Budde <mkl@pengutronix.de> | Tue Sep 28 10:18:34 2010 +0200 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Mon Oct 18 11:19:42 2010 +0200 |
tree | f85a4b2ab4b8bd7f532ccf93e56dc1cade87eb6e | |
parent | 7e15de3a73899903f33975b1ce57cf59c616d1d9 [diff] |
can: mcp251x: write intf only when needed This patch introduces a variable "clear_intf" that hold the bits that should be cleared. Only read-modify-write register if "clear_intf" is set. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Acked-by: Wolfgang Grandegger <wg@grandegger.com>