]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: Avoid twl6040-codec PLL reconfiguration when not needed
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Sat, 14 Jan 2012 19:58:44 +0000 (20:58 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 3 Feb 2012 18:03:50 +0000 (19:03 +0100)
commit34aac19933de897ec62ea2c825485833b9689305
treeb733153a25641ff8672fd608d92f65affe834dfd
parentd43aa6b8de7f71cb1897ad1e03ab2bd94decc29d
mfd: Avoid twl6040-codec PLL reconfiguration when not needed

Do not reconfigure the PLL in case it has been configured already
with the requested parameters.
In case of different PLL configuration do only the needed changes.
This can save considerable amount of time since we can avoid the
defined protocol (with delays) for the PLL configuration.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/twl6040-core.c