linux/arch/arm/mach-omap2
Tero Kristo b070f9ca78 ARM: omap2+: hwmod: fix potential NULL pointer access
omap_hwmod_get_pwrdm() may access a NULL clk_hw pointer in some failure
cases. Add a check for the case and bail out gracely if this happens.

Reported-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Cc: stable@vger.kernel.org # v5.10+
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-07-27 11:10:37 +03:00
..
2021-01-26 13:43:17 +02:00
2020-08-23 17:36:59 -05:00
2015-07-16 00:06:05 -07:00
2019-07-19 17:05:08 -07:00
2020-10-24 10:33:08 -07:00
2021-04-26 12:11:52 -07:00
2020-09-24 14:26:20 +03:00
2020-09-24 14:26:20 +03:00
2019-06-28 08:37:04 +08:00
2020-04-21 09:41:53 -07:00
2019-07-19 17:05:08 -07:00
2021-04-26 11:48:26 -07:00