Files
linux/drivers/bus
Tony Lindgren 2fe6d9c113 bus: ti-sysc: Fix sysc_unprepare() when no clocks have been allocated
[ Upstream commit aaa29bb01c ]

If we return early before ddata->clocks have been allocated we will get a
NULL pointer dereference in sysc_unprepare(). Let's fix this by returning
early when no clocks are allocated.

Fixes: 0eecc636e5 ("bus: ti-sysc: Add minimal TI sysc interconnect target driver")
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-27 14:50:36 +01:00
..
2018-08-13 13:40:52 -07:00
2016-09-08 15:27:05 +02:00