All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 1/7] can: m_can: Disabled Interrupt Line 1
@ 2017-04-08 12:10 Mario Hüttel
  2017-04-08 12:10 ` [PATCH v4 2/7] can: m_can: Removed initialization of FIFO water marks Mario Hüttel
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ messages in thread
From: Mario Hüttel @ 2017-04-08 12:10 UTC (permalink / raw)
  To: linux-can; +Cc: Mario Huettel

From: Mario Huettel <mario.huettel@gmx.net>

* Disabled interrupt line 1. The driver didn't use it.

Signed-off-by: Mario Huettel <mario.huettel@gmx.net>
---
 drivers/net/can/m_can/m_can.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/can/m_can/m_can.c b/drivers/net/can/m_can/m_can.c
index 7a6554e..6797977 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)
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2017-04-19 13:08 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-08 12:10 [PATCH v4 1/7] can: m_can: Disabled Interrupt Line 1 Mario Hüttel
2017-04-08 12:10 ` [PATCH v4 2/7] can: m_can: Removed initialization of FIFO water marks Mario Hüttel
2017-04-08 12:10 ` [PATCH v4 3/7] can: m_can: Removed virtual address from print Mario Hüttel
2017-04-08 12:10 ` [PATCH v4 4/7] can: m_can: Updated register defines to newest version Mario Hüttel
2017-04-08 12:10 ` [PATCH v4 5/7] can: m_can: Enable M_CAN version dependent initialization Mario Hüttel
2017-04-08 12:10 ` [PATCH v4 6/7] can: m_can: Configuration for TX and TX event FIFOs Mario Hüttel
2017-04-08 12:10 ` [PATCH v4 7/7] can: m_can: Enable TX FIFO Handling for M_CAN IP version >= v3.1.x Mario Hüttel
     [not found]   ` <1f88411b-aa58-4e17-02cb-43fc0ffb953c@Microchip.com>
2017-04-13  6:30     ` Oliver Hartkopp
2017-04-13  6:50       ` Quentin Schulz
2017-04-18  6:04         ` AW: " Huettel Mario (AE/PJ-SCI1)
2017-04-18  6:17           ` Yang, Wenyou
2017-04-18  6:37             ` AW: " Huettel Mario (AE/PJ-SCI1)
2017-04-18  6:50             ` Huettel Mario (AE/PJ-SCI1)
2017-04-18  6:52               ` Wenyou.Yang
2017-04-19  7:11               ` AW: " Yang, Wenyou
2017-04-14  6:04       ` Yang, Wenyou
     [not found]     ` <0f51bfad-b6ac-6cb5-0487-5b746eecb8b7@Microchip.com>
2017-04-19 13:05       ` Quentin Schulz
2017-04-19 13:08       ` Oliver Hartkopp

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.