diff options
| -rw-r--r-- | drivers/net/can/spi/mcp251x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/spi/mcp251x.c b/drivers/net/can/spi/mcp251x.c index 575790e8a75a..74a7dfecee27 100644 --- a/drivers/net/can/spi/mcp251x.c +++ b/drivers/net/can/spi/mcp251x.c | |||
| @@ -843,7 +843,7 @@ static irqreturn_t mcp251x_can_ist(int irq, void *dev_id) | |||
| 843 | if (clear_intf) | 843 | if (clear_intf) |
| 844 | mcp251x_write_bits(spi, CANINTF, clear_intf, 0x00); | 844 | mcp251x_write_bits(spi, CANINTF, clear_intf, 0x00); |
| 845 | 845 | ||
| 846 | if (eflag) | 846 | if (eflag & (EFLG_RX0OVR | EFLG_RX1OVR)) |
| 847 | mcp251x_write_bits(spi, EFLG, eflag, 0x00); | 847 | mcp251x_write_bits(spi, EFLG, eflag, 0x00); |
| 848 | 848 | ||
| 849 | /* Update can state */ | 849 | /* Update can state */ |
