Patch "can: ifi: use correct register to read rx status" has been added to the 4.10-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
can: ifi: use correct register to read rx status
to the 4.10-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
can-ifi-use-correct-register-to-read-rx-status.patch
and it can be found in the queue-4.10 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
57c1d4c33e8f7ec90976d79127059c1919cc0651Mon Sep 17 00:00:00 2001
From: Markus Marb <[email protected]>
Date: Fri, 17 Mar 2017 23:14:47 +0100
Subject: can: ifi: use correct register to read rx status
From: Markus Marb <[email protected]>
commit 57c1d4c33e8f7ec90976d79127059c1919cc0651 upstream.
The incorrect offset was used when trying to read the RXSTCMD register.
--- drivers/net/can/ifi_canfd/ifi_canfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/can/ifi_canfd/ifi_canfd.c +1 -1
@@ -557,7 +557,7 @@ static int ifi_canfd_poll(struct napi_stint work_done =0 ;u32 stcmd =readl (priv->base +IFI_CANFD_STCMD ); -u32 rxstcmd =readl (priv->base +IFI_CANFD_STCMD ); +u32 rxstcmd =readl (priv->base +IFI_CANFD_RXSTCMD );u32 errctr =readl (priv->base +IFI_CANFD_ERROR_CTR );/* Handle bus state changes */
Patches currently in stable-queue which might be from [email protected] are
queue-4.10/can-ifi-use-correct-register-to-read-rx-status.patch