[PATCH 11/31] ti: am33xx: fix do_enable_clocks() to accept NULL parameters

Simon Glass sjg at chromium.org
Sat Aug 29 23:20:35 CEST 2020


On Tue, 25 Aug 2020 at 03:25, Dario Binacchi <dariobin at libero.it> wrote:
>
> Up till this commit passing NULL as input parameter was allowed, but not
> handled properly. When a NULL parameter was passed to the function a data
> abort was raised.
>
> Signed-off-by: Dario Binacchi <dariobin at libero.it>
> ---
>
>  arch/arm/mach-omap2/am33xx/clock.c | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)

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


More information about the U-Boot mailing list