* Tero Kristo <t-kristo@xxxxxx> [151130 06:44]: > + /* > + * Errata i810 - DPLL controller can get stuck while transitioning > + * to a power saving state. Software must ensure the DPLL can not > + * transition to a low power state while changing M/N values. > + * Easiest way to accomplish this is to prevent DPLL autoidle > + * before doing the M/N re-program. > + */ > + errata_i810 = ti_clk_get_features()->flags & TI_CLK_ERRATA_I810; > + > + if (errata_i810) { > + ai = omap3_dpll_autoidle_read(clk); > + if (ai) { > + omap3_dpll_deny_idle(clk); > + > + /* OCP barrier */ > + omap3_dpll_autoidle_read(clk); > + } > + } Should we just do this unconditionally? It seems like disabling the autoidle always before reprogramming is a good idea. Regards, Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html