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

Simon Glass sjg at chromium.org
Wed May 16 15:40:40 UTC 2018


On 16 May 2018 at 03:13, Ramon Fried <ramon.fried at gmail.com> 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 <ramon.fried at gmail.com>
> ---
> v2: on failure, return actual return code from msm_uart_clk_init
>
>  drivers/serial/serial_msm.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list