ASoC: samsung: i2s: Remove virtual device for secondary DAI
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 29 Dec 2016 11:34:03 +0000 (12:34 +0100)
committerMark Brown <broonie@kernel.org>
Sat, 31 Dec 2016 18:35:07 +0000 (18:35 +0000)
commitbe2c92eb64023e294d6bb9232578963670bb121b
treeb5a1b6bb1024b69c855a5f93760ea7d71c7a534b
parent409c69be433b819c924a8d1c457a835bc6d51700
ASoC: samsung: i2s: Remove virtual device for secondary DAI

For some unknown (maybe historical?) reasons support for secondary I2S DAI
was implemented by adding additional virtual platform device, which was
then probed again with the main I2S driver. This pattern is really hard
to follow and provides no benefits, so lets remove this hack and register
both DAIs during linear probe of Exynos I2S controller driver.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/i2s.c