[alsa-devel] [PATCH 0/5] ASoC/MFD: twl6040: Remove codec driver local reg cache

Peter Ujfalusi peter.ujfalusi at ti.com
Fri Nov 29 15:03:42 CET 2013

Hi Mark,

It was not straight forward task to remove the local reg cache from the twl6040
codec driver. I also needed to change the MFD part so it will take over the
caching of registers via regmap.
So far I have the following patches working on top of mainline kernel.

Is this close enough of what you had in mind when asked me to look at this?

twl4030 codec is going to be a bit more complicated AFAIK but it will come

Peter Ujfalusi (5):
  ASoC: twl6040: Rename twl6040_is_path_unmuted ->
  ASoC: twl6040: Custom caching for sensitive DL1/2 path registers
  MFD: twl6040: reg_defaults support for regmap
  ASoC: twl6040: Remove register restore functionality
  ASoC: twl6040: Remove self managed local reg_cache support

 drivers/mfd/twl6040.c      |  92 +++++++++++++++++-
 sound/soc/codecs/twl6040.c | 227 +++++++++++++--------------------------------
 2 files changed, 155 insertions(+), 164 deletions(-)


More information about the Alsa-devel mailing list