Tero Kristo 924f9498ac ARM: OMAP: hwmod: fix an incorrect clk type cast with _get_clkdm
If the main clock for a hwmod is of basic clock type, it is illegal to type
cast this to clk_hw_omap and will result in bogus data. Fixed by checking
the clock flags before attempting the type cast.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Nishanth Menon <nm@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
2014-01-17 12:37:03 -08:00
..
2014-01-17 12:36:52 -08:00
2013-12-13 20:25:30 +00:00
2013-11-19 10:43:05 +02:00
2013-12-04 08:56:18 -08:00
2013-11-11 17:05:37 +09:00
2013-11-14 14:44:20 +09:00
2013-11-11 17:34:56 +09:00
2013-09-06 13:21:16 -07:00
2013-11-16 12:21:40 -08:00
2013-11-16 12:21:40 -08:00