Merge tag 'drm-for-v4.8' of git://people.freedesktop.org/~airlied/linux
[deliverable/linux.git] / arch / arm / mach-omap2 / cm33xx.c
index 7b181f92952557b777e5e0bbbcedae0c6cb647f8..c073fb57dd13102dfc239c67cd6860fcc281ed2c 100644 (file)
@@ -220,6 +220,9 @@ static int am33xx_cm_wait_module_ready(u8 part, s16 inst, u16 clkctrl_offs,
 {
        int i = 0;
 
+       if (!clkctrl_offs)
+               return 0;
+
        omap_test_timeout(_is_module_ready(inst, clkctrl_offs),
                          MAX_MODULE_READY_TIME, i);
 
This page took 0.044621 seconds and 5 git commands to generate.