Skip to content

ASoC: Use static DAI format setup

Lars-Peter Clausen alsa-devel 1 version Applied

Status from this message: Applied all, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest21 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/21ASoC: sam9g20_wm8731: Use static DAI format setupsound/soc/atmel/sam9g20_wm8731.c+2 -281 reply
2/21ASoC: db1200: Use static DAI format setupsound/soc/au1x/db1200.c+3 -160 replies
3/21ASoC: eureka-tlv320: Use static DAI format setupsound/soc/fsl/eukrea-tlv320.c+2 -190 replies
4/21ASoC: mx27vis-aci32x4: Use static DAI format setupsound/soc/fsl/mx27vis-aic32x4.c+2 -100 replies
5/21ASoC: wm1133-ev1: Use static DAI format setupsound/soc/fsl/wm1133-ev1.c+2 -100 replies
6/21ASoC: mxs-sgtl5000: Use static DAI format setupsound/soc/mxs/mxs-sgtl5000.c+6 -210 replies
7/21ASoC: ams-delta: Use static DAI format setupsound/soc/omap/ams-delta.c+3 -150 replies
8/21ASoC: raumfeld: Use static DAI format setupsound/soc/pxa/raumfeld.c+8 -270 replies
9/21ASoC: zylonite: Use static DAI format setupsound/soc/pxa/zylonite.c+2 -100 replies
10/21ASoC: goni_wm8994: Use static DAI format setupsound/soc/samsung/goni_wm8994.c+4 -190 replies
11/21ASoC: h1940_uda1380: Use static DAI format setupsound/soc/samsung/h1940_uda1380.c+2 -130 replies
12/21ASoC: jive_wm8750: Use static DAI format setupsound/soc/samsung/jive_wm8750.c+2 -140 replies
13/21ASoC: neo1973_wm8753: Use static DAI format setupsound/soc/samsung/neo1973_wm8753.c+4 -210 replies
14/21ASoC: rx1950_uda1380: Use static DAI format setupsound/soc/samsung/rx1950_uda1380.c+2 -130 replies
15/21ASoC: s3c24xx_simtec: Use static DAI format setupsound/soc/samsung/s3c24xx_simtec.c+2 -180 replies
16/21ASoC: s3c24xx_uda134x: Use static DAI format setupsound/soc/samsung/s3c24xx_uda134x.c+2 -100 replies
17/21ASoC: smartq_wm8987: Use static DAI format setupsound/soc/samsung/smartq_wm8987.c+2 -140 replies
18/21ASoC: smdk_wm8580: Use static DAI format setupsound/soc/samsung/smdk_wm8580.c+6 -150 replies
19/21ASoC: smdk_wm8570pcm: Use static DAI format setupsound/soc/samsung/smdk_wm8580pcm.c+5 -140 replies
20/21ASoC: smdk_wm8994pcm: Use static DAI format setupsound/soc/samsung/smdk_wm8994pcm.c+2 -140 replies
21/21ASoC: migor: Use static DAI format setupsound/soc/sh/migor.c+2 -100 replies

Reviews trailers per patch

1 of 21 patches has a Reviewed-by or Acked-by.

PatchBo Shen
1/21A-b
2/21
3/21
4/21
5/21
6/21
7/21
8/21
9/21
10/21
11/21
12/21
13/21
14/21
15/21
16/21
17/21
18/21
19/21
20/21
21/21

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/21] ASoC: Use static DAI format setup

There is still a rather large amount of board driver which manually call snd_soc_dai_set_fmt() for both the CPU and the CODEC DAI, while pretty much all of them can use static DAI setup by setting the dai_fmt field in the snd_soc_dai_link struct.

Using the later method results in shorter and cleaner code and will also make it easier to eventually switch to a component type independent way to specify the clock master/slave settings (Right now the meaning of the value depends on whether a DAI belongs to a CODEC or not).

This series converts all the trivial cases of snd_soc_dai_set_fmt() users to use the dai_fmt field instead.

- Lars

Lars-Peter Clausen (21):
ASoC: sam9g20_wm8731: Use static DAI format setup
ASoC: db1200: Use static DAI format setup
ASoC: eureka-tlv320: Use static DAI format setup
ASoC: mx27vis-aci32x4: Use static DAI format setup
ASoC: wm1133-ev1: Use static DAI format setup
ASoC: mxs-sgtl5000: Use static DAI format setup
ASoC: ams-delta: Use static DAI format setup
ASoC: raumfeld: Use static DAI format setup
ASoC: zylonite: Use static DAI format setup
ASoC: goni_wm8994: Use static DAI format setup
ASoC: h1940_uda1380: Use static DAI format setup
ASoC: jive_wm8750: Use static DAI format setup
ASoC: neo1973_wm8753: Use static DAI format setup
ASoC: rx1950_uda1380: Use static DAI format setup
ASoC: s3c24xx_simtec: Use static DAI format setup
ASoC: s3c24xx_uda134x: Use static DAI format setup
ASoC: smartq_wm8987: Use static DAI format setup
ASoC: smdk_wm8580: Use static DAI format setup
ASoC: smdk_wm8570pcm: Use static DAI format setup
ASoC: smdk_wm8994pcm: Use static DAI format setup
ASoC: migor: Use static DAI format setup

 sound/soc/atmel/sam9g20_wm8731.c    | 30 ++----------------------------
 sound/soc/au1x/db1200.c             | 19 +++----------------
 sound/soc/fsl/eukrea-tlv320.c       | 21 ++-------------------
 sound/soc/fsl/mx27vis-aic32x4.c     | 12 ++----------
 sound/soc/fsl/wm1133-ev1.c          | 12 ++----------
 sound/soc/mxs/mxs-sgtl5000.c        | 27 ++++++---------------------
 sound/soc/omap/ams-delta.c          | 18 +++---------------
 sound/soc/pxa/raumfeld.c            | 35 ++++++++---------------------------
 sound/soc/pxa/zylonite.c            | 12 ++----------
 sound/soc/samsung/goni_wm8994.c     | 23 ++++-------------------
 sound/soc/samsung/h1940_uda1380.c   | 15 ++-------------
 sound/soc/samsung/jive_wm8750.c     | 16 ++--------------
 sound/soc/samsung/neo1973_wm8753.c  | 25 ++++---------------------
 sound/soc/samsung/rx1950_uda1380.c  | 15 ++-------------
 sound/soc/samsung/s3c24xx_simtec.c  | 20 ++------------------
 sound/soc/samsung/s3c24xx_uda134x.c | 12 ++----------
 sound/soc/samsung/smartq_wm8987.c   | 16 ++--------------
 sound/soc/samsung/smdk_wm8580.c     | 21 ++++++---------------
 sound/soc/samsung/smdk_wm8580pcm.c  | 19 +++++--------------
 sound/soc/samsung/smdk_wm8994pcm.c  | 16 ++--------------
 sound/soc/sh/migor.c                | 12 ++----------
 21 files changed, 65 insertions(+), 331 deletions(-)
Signature · 1 line
1.8.0