Messages in this thread | | | Date | Tue, 18 Mar 2014 19:19:30 +0100 (CET) | From | Thomas Gleixner <> | Subject | Re: [patch 01/12] can: c_can: Wait for CONTROL_INIT to be cleared |
| |
On Tue, 18 Mar 2014, Marc Kleine-Budde wrote: > On 03/18/2014 06:19 PM, Thomas Gleixner wrote: > > According to the documentation the CPU must wait for CONTROL_INIT to > > be cleared before writing to the baudrate registers. > > Thanks for the catch. > > + return c_can_wait_for_ctrl_init(dev, priv, 0); > > I'll post a patch that adds return value checking of all direct and > indirect users of c_can_set_bittiming().
Right, I forgot to mention, that an error return gets lost in lala land.
Thanks,
tglx
| |