]> git.dujemihanovic.xyz Git - u-boot.git/commit
ti: am33xx: fix do_enable_clocks() to accept NULL parameters
authorDario Binacchi <dariobin@libero.it>
Tue, 29 Dec 2020 23:06:38 +0000 (00:06 +0100)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 12 Jan 2021 05:28:04 +0000 (10:58 +0530)
commitbc34f0ba83fa28cef9fed045d7296dcae7861aed
tree6610f3b903b3ce6485295a3fc303dacf6d55c4ce
parentc28baf6c70a1f47524075c497ded2c5bc805f2a3
ti: am33xx: fix do_enable_clocks() to accept NULL parameters

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@libero.it>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-omap2/am33xx/clock.c