diff options
author | Jarkko Nikula <jhnikula@gmail.com> | 2010-09-20 03:39:13 -0400 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-09-20 13:40:47 -0400 |
commit | 5a895f8a09218716654fb89e0f876e4e3ca606a8 (patch) | |
tree | cef536f517a54d24a637c2734d24c8795be5eaf2 /arch/arm | |
parent | 6c1a7d40c2237ff7690ca682336e22777c847ffe (diff) |
ASoC: tlv320aic3x: Use regulator notifiers for optimizing the cache sync
There is no need to reset the codec and perform cache sync if none of the
supply regulators were not disabled. Patch registers a notifier callback for
each supply and callback then sets a flag to indicate when cache sync is
required.
HW writes are also needless when codec bias is off so cache_only flag is set
independently of actual supply regulators state.
Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions