diff options
author | Mario Huettel <mario.huettel@gmx.net> | 2017-04-08 15:10:09 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2017-04-25 10:00:45 +0300 |
commit | 52973810b54bb569fa3baf14d0ff9bfa3e0f68f9 (patch) | |
tree | 1c607d2ee0f413b504ab50f8f6f4ab5f24e1f1ce | |
parent | 8ac8321e4a7981312348413b9ec314fd93d71a0c (diff) | |
download | linux-52973810b54bb569fa3baf14d0ff9bfa3e0f68f9.tar.xz |
can: m_can: Disabled Interrupt Line 1
* Disabled interrupt line 1. The driver didn't use it.
Signed-off-by: Mario Huettel <mario.huettel@gmx.net>
Tested-by: Quentin Schulz <quentin.schulz@free-electrons.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r-- | drivers/net/can/m_can/m_can.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/can/m_can/m_can.c b/drivers/net/can/m_can/m_can.c index 7a6554efd42b..6797977ef705 100644 --- a/drivers/net/can/m_can/m_can.c +++ b/drivers/net/can/m_can/m_can.c @@ -349,7 +349,8 @@ static inline void m_can_config_endisable(const struct m_can_priv *priv, static inline void m_can_enable_all_interrupts(const struct m_can_priv *priv) { - m_can_write(priv, M_CAN_ILE, ILE_EINT0 | ILE_EINT1); + /* Only interrupt line 0 is used in this driver */ + m_can_write(priv, M_CAN_ILE, ILE_EINT0); } static inline void m_can_disable_all_interrupts(const struct m_can_priv *priv) |