All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mario Hüttel" <mario.huettel@gmx.net>
To: linux-can@vger.kernel.org
Cc: Mario Huettel <mario.huettel@gmx.net>
Subject: [PATCH v4 2/7] can: m_can: Removed initialization of FIFO water marks
Date: Sat,  8 Apr 2017 14:10:10 +0200	[thread overview]
Message-ID: <20170408121015.11428-2-mario.huettel@gmx.net> (raw)
In-Reply-To: <20170408121015.11428-1-mario.huettel@gmx.net>

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

FIFO water marks disabled because the driver doesn't handle water mark events.

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

diff --git a/drivers/net/can/m_can/m_can.c b/drivers/net/can/m_can/m_can.c
index 6797977..ddcbe8b 100644
--- a/drivers/net/can/m_can/m_can.c
+++ b/drivers/net/can/m_can/m_can.c
@@ -864,11 +864,11 @@ static void m_can_chip_config(struct net_device *dev)
 	/* rx fifo configuration, blocking mode, fifo size 1 */
 	m_can_write(priv, M_CAN_RXF0C,
 		    (priv->mcfg[MRAM_RXF0].num << RXFC_FS_OFF) |
-		    RXFC_FWM_1 | priv->mcfg[MRAM_RXF0].off);
+		     priv->mcfg[MRAM_RXF0].off);
 
 	m_can_write(priv, M_CAN_RXF1C,
 		    (priv->mcfg[MRAM_RXF1].num << RXFC_FS_OFF) |
-		    RXFC_FWM_1 | priv->mcfg[MRAM_RXF1].off);
+		     priv->mcfg[MRAM_RXF1].off);
 
 	cccr = m_can_read(priv, M_CAN_CCCR);
 	cccr &= ~(CCCR_TEST | CCCR_MON | (CCCR_CMR_MASK << CCCR_CMR_SHIFT) |
-- 
1.9.1


  reply	other threads:[~2017-04-08 12:10 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-08 12:10 [PATCH v4 1/7] can: m_can: Disabled Interrupt Line 1 Mario Hüttel
2017-04-08 12:10 ` Mario Hüttel [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170408121015.11428-2-mario.huettel@gmx.net \
    --to=mario.huettel@gmx.net \
    --cc=linux-can@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.