linux/sound/soc/samsung
Jaechul Lee 22289ddcd8 ASoC: samsung: i2s: Use specific name for i2s dais
Add specific dais name when components are registered. Component and dai
name will follow their parent dev name, if the name isn't described.  In
case of this driver, each dais will have same name like '11440000.i2s0' by
fmt_single_name function.

The problem having same name is that TM2 machine driver can't detect
capture devices correctly. Machine driver doesn't know which one is proper
to use for cpu dai. The driver just selects to use 'samsung-i2c-sec' that
doesn't have capture functionality because the component of
samsung-i2s-sec is located in the first of the component_list.

I add dai name like 'samsung-i2s', 'samsung-i2s-sec' for each dais. The
reason why adding dai id to 1 is that it doesn't allow to use particular
dai name in case of when I use 0 for dai id.

Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-09-19 15:58:59 +01:00
..
arndale_rt5631.c Merge remote-tracking branches 'asoc/topic/au1x', 'asoc/topic/bcm2835', 'asoc/topic/blackfin' and 'asoc/topic/card' into asoc-next 2015-08-30 15:52:41 +01:00
bells.c ASoC: samsung: Remove extra blank lines 2017-03-07 15:17:49 +01:00
dma.h ASoC: samsung: Remove unused now unused struct s3c_dma_params 2016-08-08 11:55:20 +01:00
dmaengine.c ASoC: Revert "samsung: Remove unneeded initialization of chan_name" 2017-01-23 18:16:33 +00:00
h1940_uda1380.c ASoC: h1940_uda1380: Constify rate constraints 2015-10-23 08:49:03 +09:00
i2s-regs.h ASoC: samsung: Remove extra blank lines 2017-03-07 15:17:49 +01:00
i2s.c ASoC: samsung: i2s: Use specific name for i2s dais 2017-09-19 15:58:59 +01:00
i2s.h ASoC: samsung: i2s: Use specific name for i2s dais 2017-09-19 15:58:59 +01:00
idma.c ASoC: samsung: make snd_soc_platform_driver const 2017-08-14 17:15:41 +01:00
idma.h ASoC: Fix __iomem annotation for IDMA registers 2011-11-29 17:28:16 +00:00
jive_wm8750.c ASoC: samsung: make snd_soc_ops const 2017-08-17 18:09:39 +01:00
Kconfig ASoC: samsung: Add Odroid ASoC machine driver 2017-04-21 18:27:58 +01:00
littlemill.c ASoC: Vendor drivers get a link's runtime by snd_soc_get_pcm_runtime() 2015-11-18 18:32:24 +00:00
lowland.c ASoC: lowland: Use card DAPM context to access widgets 2015-05-04 13:51:19 +01:00
Makefile ASoC: samsung: Add Odroid ASoC machine driver 2017-04-21 18:27:58 +01:00
neo1973_wm8753.c ASoC: neo1973_wm8753: Use static DAI format setup 2015-01-06 17:34:30 +00:00
odroid.c ASoC: samsung: odroid: Drop requirement of clocks in the sound node 2017-08-08 12:02:51 +01:00
pcm.c ASoC: samsung: pcm: Handle return value of clk_prepare_enable. 2017-07-26 13:00:24 +01:00
pcm.h
regs-i2s-v2.h
regs-iis.h ASoC: samsung: Trivial cleanups in header files 2013-12-30 12:05:56 +00:00
rx1950_uda1380.c ASoC: rx1950_uda1380: Constify rate constraints 2015-10-23 08:49:16 +09:00
s3c24xx_simtec_hermes.c ASoC: samsung: drop owner assignment from platform_drivers 2014-10-20 16:22:13 +02:00
s3c24xx_simtec_tlv320aic23.c ASoC: samsung: drop owner assignment from platform_drivers 2014-10-20 16:22:13 +02:00
s3c24xx_simtec.c ASoC: samsung: make snd_soc_ops const 2017-08-17 18:09:39 +01:00
s3c24xx_simtec.h
s3c24xx_uda134x.c ASoC: s3c24xx_uda134x: Remove unnecessary function call 2017-08-21 17:10:53 +01:00
s3c24xx-i2s.c ASoC: samsung: s3c24xx: Handle return value of clk_prepare_enable. 2017-07-26 13:00:18 +01:00
s3c24xx-i2s.h
s3c2412-i2s.c ASoC: samsung: Add proper error paths to s3c24xx I2S driver 2017-07-28 10:58:31 +01:00
s3c2412-i2s.h
s3c-i2s-v2.c ASoC: samsung: Add proper error paths to s3c24xx I2S driver 2017-07-28 10:58:31 +01:00
s3c-i2s-v2.h ASoC: samsung: Add proper error paths to s3c24xx I2S driver 2017-07-28 10:58:31 +01:00
smartq_wm8987.c ASoC: samsung/smartq: use dynamic registration 2015-12-01 21:50:24 +01:00
smdk_spdif.c ASoC: samsung: make snd_soc_ops const 2017-08-17 18:09:39 +01:00
smdk_wm8580.c ASoC: samsung: smdk_wm8580: remove unused ‘bfs’ 2016-12-15 11:34:44 +00:00
smdk_wm8994.c ASoC: smdk_wm8994: Use card DAPM context to access widgets 2015-05-04 13:51:19 +01:00
smdk_wm8994pcm.c ASoC: samsung: Remove unused now unused struct s3c_dma_params 2016-08-08 11:55:20 +01:00
snow.c ASoC: Vendor drivers get a link's runtime by snd_soc_get_pcm_runtime() 2015-11-18 18:32:24 +00:00
spdif.c ASoC: samsung: spdif: Handle return value of clk_prepare_enable. 2017-07-26 13:00:30 +01:00
spdif.h
speyside.c ASoC: Vendor drivers get a link's runtime by snd_soc_get_pcm_runtime() 2015-11-18 18:32:24 +00:00
tm2_wm5110.c ASoC: samsung: make tm2_dapm_widgets and tm2_pm_ops static 2017-08-14 17:15:09 +01:00
tobermory.c ASoC: Vendor drivers get a link's runtime by snd_soc_get_pcm_runtime() 2015-11-18 18:32:24 +00:00