Skip to content

ASoC: AC'97 driver cleanups

Lars-Peter Clausen alsa-devel 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 8 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/14ASoC: ad1980: Remove unused headersound/soc/blackfin/bf5xx-ad1980.c sound/soc/codecs/ad1980.c sound/soc/codecs/ad1980.h+0 -301 reply
2/14ASoC: ad1980: Cleanup printk usagesound/soc/codecs/ad1980.c+6 -101 reply
3/14ASoC: ad1980: Use table based control setupsound/soc/codecs/ad1980.c+2 -31 reply
4/14ASoC: stac9766: Cleanup printk usagesound/soc/codecs/stac9766.c+2 -20 replies
5/14ASoC: stac9766: Use table based control setupsound/soc/codecs/stac9766.c+2 -30 replies
6/14ASoC: wm9705: Cleanup printk usagesound/soc/codecs/wm9705.c+4 -40 replies
7/14ASoC: wm9705: Use table based control setupsound/soc/codecs/wm9705.c+3 -30 replies
8/14ASoC: wm9712: Cleanup printk usagesound/soc/codecs/wm9712.c+4 -81 reply
9/14ASoC: wm9712: Use table based control setupsound/soc/codecs/wm9712.c+3 -21 reply
10/14ASoC: wm9713: Cleanup printk usagesound/soc/codecs/wm9713.c+10 -100 replies
11/14ASoC: wm9713: Use table based control setupsound/soc/codecs/wm9713.c+3 -30 replies
12/14ASoC: wm9713: Move driver state struct allocation to driver probesound/soc/codecs/wm9713.c+9 -110 replies
13/14ASoC: wm9713: Use virtual control instead of virtual registersound/soc/codecs/wm9713.c+2 -30 replies
14/14ASoC: wm9712/wm9713: Use shared controlssound/soc/codecs/wm9712.c sound/soc/codecs/wm9713.c+49 -1912 replies

Reviews trailers per patch

None of the 14 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchCharles Keepax
SeriesA-b
1/14
2/14
3/14
4/14
5/14
6/14
7/14
8/14
9/14
10/14
11/14
12/14
13/14
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/14] ASoC: AC'97 driver cleanups

Hi,

This series does a few AC'97 driver cleanups in preparation of the conversion of the drivers to regmap. Most of the patches are quite trivial.

The last two patches remove the virtual registers from the wm9712 and wm9713 drivers, which is a requirement for regmap conversion.

The last patch is the only one in this series that is a bit more complex. Currently the drivers have a open-coded implementation of shared controls which is replaced by the patch with the generic one from the ASoC core. Unfortunately this changes the controls that are exposed by the driver, instead of having a "Left HP Mixer ..." and a "Right HP Mixer ..." control for each mixer input there will only be a single "HP Mixer" control. This may or may not be considered breaking the userspace interface. If it is we need to take a different approach at removing the virtual register form the driver.

- Lars

Lars-Peter Clausen (14):
ASoC: ad1980: Remove unused header
ASoC: ad1980: Cleanup printk usage
ASoC: ad1980: Use table based control setup
ASoC: stac9766: Cleanup printk usage
ASoC: stac9766: Use table based control setup
ASoC: wm9705: Cleanup printk usage
ASoC: wm9705: Use table based control setup
ASoC: wm9712: Cleanup printk usage
ASoC: wm9712: Use table based control setup
ASoC: wm9713: Cleanup printk usage
ASoC: wm9713: Use table based control setup
ASoC: wm9713: Move driver state struct allocation to driver probe
ASoC: wm9713: Use virtual control instead of virtual register
ASoC: wm9712/wm9713: Use shared controls

 sound/soc/blackfin/bf5xx-ad1980.c |   2 -
 sound/soc/codecs/ad1980.c         |  23 ++----
 sound/soc/codecs/ad1980.h         |  26 ------
 sound/soc/codecs/stac9766.c       |   9 +-
 sound/soc/codecs/wm9705.c         |  14 ++--
 sound/soc/codecs/wm9712.c         | 136 +++++++-----------------------
 sound/soc/codecs/wm9713.c         | 170 +++++++++++---------------------------
 7 files changed, 98 insertions(+), 282 deletions(-)
 delete mode 100644 sound/soc/codecs/ad1980.h
Signature · 1 line
1.8.0