On Wed, Mar 31, 2010 at 06:35:10PM +0300, Felipe Balbi wrote: > + if (debounce) { > + val |= l; > + if (cpu_is_omap34xx() || cpu_is_omap44xx()) > + clk_enable(bank->dbck); > + } else { > + val &= ~l; > + if (cpu_is_omap34xx() || cpu_is_omap44xx()) > + clk_disable(bank->dbck); > + } Will these do the right thing with the clocks for noop transitions or tweaks to the debounce time? I'm not familiar with the OMAP clock framework, it could handle this. -- 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