This patch series updates the ak4104 driver to more modern idioms, mainly converting to regmap. I've absolutely no ability to test this so there's a reasonable chance this will just explode but hopefully it should work fine. Since all the read modify write, I/O and cache code was open coded in the driver we end up factoring out a reasonable amount.
Mark Brown (5): ASoC: ak4104: Remove uninformative print on probe() ASoC: ak4104: Convert to module_spi_driver() ASoC: ak4104: Use snd_soc_update_bits() for read/modify/write ASoC: ak4104: Use snd_soc_write() rather than internal write function ASoC: ak4104: Convert to direct regmap API usage
sound/soc/codecs/ak4104.c | 174 ++++++++++++++++----------------------------- 1 files changed, 62 insertions(+), 112 deletions(-)