Skip to content

Refresh ak4104 driver

Mark Brown alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ASoC: ak4104: Remove uninformative print on probe()sound/soc/codecs/ak4104.c+0 -10 replies
2/5ASoC: ak4104: Convert to module_spi_driver()sound/soc/codecs/ak4104.c+1 -110 replies
3/5ASoC: ak4104: Use snd_soc_update_bits() for read/modify/writesound/soc/codecs/ak4104.c+15 -230 replies
4/5ASoC: ak4104: Use snd_soc_write() rather than internal write functionsound/soc/codecs/ak4104.c+2 -20 replies
5/5ASoC: ak4104: Convert to direct regmap API usagesound/soc/codecs/ak4104.c+44 -750 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Refresh ak4104 driver

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(-)