linux/sound/soc/samsung
Sylwester Nawrocki c6bebefa2f
ASoC: samsung: i2s: Fix multiple "IIS multi" devices initialization
On some SoCs (e.g. Exynos5433) there are multiple "IIS multi audio
interfaces" and the driver will try to register there multiple times
same platform device for the secondary FIFO, which of course fails
miserably.  To fix this we derive the secondary platform device name
from the primary device name. The secondary device name will now
be <primary_dev_name>-sec instead of fixed "samsung-i2s-sec".

The fixed platform_device_id table entry is removed as the secondary
device name is now dynamic and device/driver matching is done through
driver_override.

Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Suggested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-02-19 15:49:42 +00: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: don't use rtd->codec on samsung/bells 2017-12-05 12:44:52 +00:00
dma.h ASoC: samsung: dmaengine: Allow to specify custom DMA device 2019-02-12 16:31:58 +00:00
dmaengine.c ASoC: samsung: Specify DMA channel names through custom DMA config 2019-02-14 13:06:01 +00:00
h1940_uda1380.c ASoC: samsung: Remove superfluous snd_soc_jack_free_gpios() call 2017-08-22 13:39:02 +01:00
i2s-regs.h ASoC: samsung: i2s: Define the parameters list for SAMSUNG_I2S_OPCLK 2018-02-14 12:10:16 +00:00
i2s.c ASoC: samsung: i2s: Fix multiple "IIS multi" devices initialization 2019-02-19 15:49:42 +00:00
i2s.h ASoC: samsung: i2s: Define the parameters list for SAMSUNG_I2S_OPCLK 2018-02-14 12:10:16 +00:00
idma.c ASoC: samsung: idma: replace platform to component 2018-02-12 11:45:31 +00: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: wm8993/wm8994/wm8958: replace codec to component 2018-02-12 11:38:50 +00:00
lowland.c ASoC: wm5100: replace codec to component 2018-02-12 09:39:53 +00:00
Makefile ASoC: samsung: clean makefile about inexistant files 2018-02-12 11:47:49 +00:00
neo1973_wm8753.c ASoC: neo1973_wm8753: Use static DAI format setup 2015-01-06 17:34:30 +00:00
odroid.c ASoC: samsung: i2s: Fix multiple "IIS multi" devices initialization 2019-02-19 15:49:42 +00:00
pcm.c ASoC: samsung: dmaengine: Allow to specify custom DMA device 2019-02-12 16:31:58 +00: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: samsung: Remove superfluous snd_soc_jack_free_gpios() call 2017-08-22 13:39:02 +01: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: Specify DMA channel names through custom DMA config 2019-02-14 13:06:01 +00:00
s3c24xx-i2s.h
s3c2412-i2s.c ASoC: samsung: Specify DMA channel names through custom DMA config 2019-02-14 13:06:01 +00: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: Remove superfluous snd_soc_jack_free_gpios() call 2017-08-22 13:39:02 +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: samsung: Add HDMI audio support for Snow 2018-03-13 09:20:41 -07:00
spdif.c ASoC: samsung: dmaengine: Allow to specify custom DMA device 2019-02-12 16:31:58 +00:00
spdif.h
speyside.c ASoC: wm8996: replace codec to component 2018-02-12 09:42:25 +00:00
tm2_wm5110.c ASoC: add for_each_card_prelinks() macro 2018-09-20 10:18:34 -07:00
tobermory.c ASoC: wm8962: replace codec to component 2018-02-12 09:42:21 +00:00