Hello, The following series - at the end - will add analog loopback/bypass support for the twl4030 codec.
The main changes: [1] ANAMICL register self cleaning bit handling [2] Simplified power up/down function [3] Move the Headset anti-pop/bias ramp enabling to be happend only if the headset is actually in use [4] Change the place for the DAC power switch [5] Preparation for the loopback implementation [6] Analog loopback/bypass implementation
You can find a bit more detailed notes in the actuall patches.
In short: if none of the loopbacks are enabled, the codec behaves in the same way as it used to. If the loopback is enabled the codec will be kept powered as long as the loopback is enabled.
P�ter
--- Peter Ujfalusi (6): ASoC: TWL4030: Syncronize the reg_cache for ANAMICL after the offset cancelation ASoC: TWL4030: Code clean up for codec power up and down ASoC: TWL4030: Enable Headset Left anti-pop/bias ramp only if the Headset Left is in use ASoC: TWL4030: Physical ADC and amplifier power switch change ASoC: TWL4030: Move the twl4030_power_up and _power_down function ASoC: TWL4030: Add analog loopback support
sound/soc/codecs/twl4030.c | 340 ++++++++++++++++++++++++++++++-------------- 1 files changed, 232 insertions(+), 108 deletions(-)