linux/sound/soc/samsung
Sylwester Nawrocki aaa68472ed
ASoC: samsung: arndale: Simplify DAI link initialization
There is only one DAI link so we can drop an unnecessary loop statement.
Use card->dai_link in place of direct static arndale_rt5631_dai[] array
dereference as a prerequisite for adding support for other CODECs.
Unnecessary assignment of dai_link->codecs->name to NULL is removed.

Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Link: https://lore.kernel.org/r/20191002105652.24821-1-s.nawrocki@samsung.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-10-02 12:51:24 +01:00
..
arndale_rt5631.c ASoC: samsung: arndale: Simplify DAI link initialization 2019-10-02 12:51:24 +01:00
bells.c ASoC: samsung: bells: use modern dai_link style 2019-06-06 21:26:37 +01:00
dma.h ASoC: samsung: dmaengine: Convert to SPDX License Indentifier 2019-04-19 16:48:52 +01:00
dmaengine.c ASoC: samsung: dmaengine: Convert to SPDX License Indentifier 2019-04-19 16:48:52 +01:00
h1940_uda1380.c ASoC: samsung: h1940_uda1380: use modern dai_link style 2019-06-06 21:28:13 +01:00
i2s-regs.h ASoC: samsung: i2s: Convert to SPDX License Identifier 2019-04-19 16:49:49 +01:00
i2s.c ASoC: samsung: i2s: Don't use register read to determine slave/master mode 2019-03-20 17:10:45 +00:00
i2s.h ASoC: samsung: i2s: Convert to SPDX License Identifier 2019-04-19 16:49:49 +01:00
idma.c ASoC: samsung: idma: Convert to SPDX License Identifier 2019-04-19 16:50:17 +01:00
idma.h ASoC: samsung: idma: Convert to SPDX License Identifier 2019-04-19 16:50:17 +01:00
jive_wm8750.c ASoC: samsung: jive_wm8750: use modern dai_link style 2019-06-06 21:32:13 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
littlemill.c ASoC: samsung: littlemill: use modern dai_link style 2019-06-06 21:31:54 +01:00
lowland.c ASoC: samsung: lowland: use modern dai_link style 2019-06-06 21:31:35 +01:00
Makefile ASoC: samsung: clean makefile about inexistant files 2018-02-12 11:47:49 +00:00
neo1973_wm8753.c ASoC: samsung: neo1973_wm8753: use snd_soc_dai_link_component for aux_dev 2019-08-09 18:12:33 +01:00
odroid.c ASoC: samsung: odroid: fix a double-free issue for cpu_dai 2019-07-16 19:17:15 +01:00
pcm.c ASoC: samsung: pcm: Convert to SPDX License Identifier 2019-04-19 16:53:12 +01:00
pcm.h ASoC: samsung: pcm: Convert to SPDX License Identifier 2019-04-19 16:53:12 +01:00
regs-i2s-v2.h ASoC: samsung: s3c-i2s-v2: Convert to SPDX License Identifier 2019-04-19 16:53:40 +01:00
regs-iis.h ASoC: samsung: s3c24xx-i2s: Convert to SPDX License Identifier 2019-04-19 16:54:00 +01:00
rx1950_uda1380.c ASoC: samsung: rx1950_uda1380: use modern dai_link style 2019-06-06 21:30:55 +01:00
s3c24xx_simtec_hermes.c ASoC: samsung: s3c24xx_simtec_hermes: use modern dai_link style 2019-06-06 21:30:41 +01:00
s3c24xx_simtec_tlv320aic23.c ASoC: samsung: s3c24xx_simtec_tlv320aic23: use modern dai_link style 2019-06-06 21:30:31 +01:00
s3c24xx_simtec.c ASoC: samsung: s3c24xx_simtec*: Convert to SPDX License Identifier 2019-04-19 16:54:45 +01:00
s3c24xx_simtec.h ASoC: samsung: s3c24xx_simtec*: Convert to SPDX License Identifier 2019-04-19 16:54:45 +01:00
s3c24xx_uda134x.c ASoC: samsung: s3c24xx_uda134x: use modern dai_link style 2019-06-06 21:30:21 +01:00
s3c24xx-i2s.c ASoC: samsung: s3c24xx-i2s: Convert to SPDX License Identifier 2019-04-19 16:54:00 +01:00
s3c24xx-i2s.h ASoC: samsung: s3c24xx-i2s: Convert to SPDX License Identifier 2019-04-19 16:54:00 +01:00
s3c2412-i2s.c ASoC: samsung: s3c2412-i2s: Convert to SPDX License Identifier 2019-04-19 16:54:29 +01:00
s3c2412-i2s.h ASoC: samsung: s3c2412-i2s: Convert to SPDX License Identifier 2019-04-19 16:54:29 +01:00
s3c-i2s-v2.c ASoC: samsung: s3c-i2s-v2: Convert to SPDX License Identifier 2019-04-19 16:53:40 +01:00
s3c-i2s-v2.h ASoC: samsung: s3c-i2s-v2: Convert to SPDX License Identifier 2019-04-19 16:53:40 +01:00
smartq_wm8987.c ASoC: samsung: smartq_wm8987: use modern dai_link style 2019-06-06 21:30:02 +01:00
smdk_spdif.c ASoC: samsung: smdk_spdif: use modern dai_link style 2019-06-06 21:27:53 +01:00
smdk_wm8580.c ASoC: samsung: smdk_wm8580: use modern dai_link style 2019-06-06 21:26:56 +01:00
smdk_wm8994.c ASoC: samsung: smdk_wm8994: consider CPU-Platform possibility 2019-06-28 15:15:42 +01:00
smdk_wm8994pcm.c ASoC: samsung: smdk_wm8994pcm: use modern dai_link style 2019-06-06 21:27:35 +01:00
snow.c ASoC: samsung: snow: consider CPU-Platform possibility 2019-06-28 15:16:03 +01:00
spdif.c ASoC: samsung: spdif: Convert to SPDX License Identifier 2019-04-19 16:58:21 +01:00
spdif.h ASoC: samsung: spdif: Convert to SPDX License Identifier 2019-04-19 16:58:21 +01:00
speyside.c ASoC: samsung: speyside: use snd_soc_dai_link_component for aux_dev 2019-08-09 18:12:34 +01:00
tm2_wm5110.c ASoC: samsung: tm2_wm5110: use snd_soc_dai_link_component for aux_dev 2019-08-09 18:12:35 +01:00
tobermory.c ASoC: samsung: tobermory: use modern dai_link style 2019-06-06 21:28:46 +01:00