]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/staging/tidspbridge/core/tiomap3430.c
Merge 3.16-rc4 into staging-next
[karo-tx-linux.git] / drivers / staging / tidspbridge / core / tiomap3430.c
index bf952ef7e6965a993e7dcf79c713a227ea33cf3f..f63dd8f4dde9c0504d18888fa59ed085bfd62d23 100644 (file)
@@ -280,8 +280,10 @@ static int bridge_brd_monitor(struct bridge_dev_context *dev_ctxt)
                                        OMAP3430_IVA2_MOD, OMAP2_CM_CLKSTCTRL);
 
                /* Wait until the state has moved to ON */
-               while (*pdata->dsp_prm_read(OMAP3430_IVA2_MOD, OMAP2_PM_PWSTST)&
-                                       OMAP_INTRANSITION_MASK);
+               while ((*pdata->dsp_prm_read)(OMAP3430_IVA2_MOD,
+                                             OMAP2_PM_PWSTST) &
+                                               OMAP_INTRANSITION_MASK)
+                       ;
                /* Disable Automatic transition */
                (*pdata->dsp_cm_write)(OMAP34XX_CLKSTCTRL_DISABLE_AUTO,
                                        OMAP3430_IVA2_MOD, OMAP2_CM_CLKSTCTRL);