can: c_can_platform: fix parameters of c_can_hw_raminit_ti()
authorRoger Quadros <rogerq@ti.com>
Tue, 9 Sep 2014 14:31:08 +0000 (17:31 +0300)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 18 Sep 2014 09:14:30 +0000 (11:14 +0200)
commita7380db5f0d6dd94981e73da08d8fa863ee72235
treef964cb5c85cc68cb64fe3ebadb54efddf00efbe6
parent6a38792ca8a5da28f65dc42eeb73d9a431f8d0fd
can: c_can_platform: fix parameters of c_can_hw_raminit_ti()

Pass the correct 'mask' and 'value' bits to c_can_hw_raminit_wait_ti(). They
seem to have been swapped in the usage instances.

Reported-by: Jay Schroeder <jay.schroeder@garmin.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/c_can/c_can_platform.c