can: ifi: use correct register to read rx status
authorMarkus Marb <markus@marb.org>
Fri, 17 Mar 2017 22:14:47 +0000 (23:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Apr 2017 07:31:22 +0000 (09:31 +0200)
commit088e5800500e30632b11c4332bcf5923994dc22f
tree7c3f287731b9b814473dca3220b6e409f724c056
parent5ac50e714f6040904496fae508a2cdb9b6e8a210
can: ifi: use correct register to read rx status

commit 57c1d4c33e8f7ec90976d79127059c1919cc0651 upstream.

The incorrect offset was used when trying to read the RXSTCMD register.

Signed-off-by: Markus Marb <markus@marb.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/can/ifi_canfd/ifi_canfd.c