Re: [U-Boot] [PATCH v2 2/7] serial: serial_msm: fail probe if settings clocks fails

2018-05-16 Thread Simon Glass
On 16 May 2018 at 03:13, Ramon Fried wrote: > Failure to set the clocks will causes data abort exception when > trying to write to AHB uart registers. > This patch ensures that we don't touch these registers if clock > setting failed. > > Signed-off-by: Ramon Fried > --- > v2: on failure, return

[U-Boot] [PATCH v2 2/7] serial: serial_msm: fail probe if settings clocks fails

2018-05-16 Thread Ramon Fried
Failure to set the clocks will causes data abort exception when trying to write to AHB uart registers. This patch ensures that we don't touch these registers if clock setting failed. Signed-off-by: Ramon Fried --- v2: on failure, return actual return code from msm_uart_clk_init drivers/serial/s