]> git.baikalelectronics.ru Git - uboot.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)
commit13a4109805e0cd7f7fda59b63cf1c53ed0ef9715
tree6610f3b903b3ce6485295a3fc303dacf6d55c4ce
parent358f81469a2adfaa0503a3452255f4603003fb01
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