can: c_can: Wait for CONTROL_INIT to be cleared
authorThomas Gleixner <tglx@linutronix.de>
Tue, 18 Mar 2014 17:19:08 +0000 (17:19 +0000)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 1 Apr 2014 09:54:57 +0000 (11:54 +0200)
commit9fac1d1ab8e66816c40a235a238357b1f1fc4dee
treed277fa95c6ae7a6c3566d06d7b242c20dd9abebf
parent130a5171dad06c6d89fd5568260fbb0c4b34bd74
can: c_can: Wait for CONTROL_INIT to be cleared

According to the documentation the CPU must wait for CONTROL_INIT to
be cleared before writing to the baudrate registers.

Signed-off-by: Benedikt Spranger <b.spranger@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/c_can/c_can.c