summaryrefslogtreecommitdiffstats
path: root/Documentation/mn10300
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2016-10-27 12:34:02 +0200
committerMark Brown <broonie@kernel.org>2016-10-28 18:21:13 +0100
commit73f5dfc68316bef2ab7062ecdefd4b0ca941b4c1 (patch)
treed0e26273bb32d1ae302b64e3cd26848cd158a084 /Documentation/mn10300
parent1001354ca34179f3db924eb66672442a173147dc (diff)
downloadlinux-73f5dfc68316bef2ab7062ecdefd4b0ca941b4c1.tar.gz
linux-73f5dfc68316bef2ab7062ecdefd4b0ca941b4c1.tar.bz2
linux-73f5dfc68316bef2ab7062ecdefd4b0ca941b4c1.zip
ASoC: samsung: get access to DMA engine early to defer probe properly
ASoC Samsung sub-drivers tried to get access to their DMA engine controllers as a last step in driver probe. If a DMA engine was not available yet, samsung_asoc_dma_platform_register() function ended in -EPROBE_DEFER, but the driver already registered its component to ASoC core. This patch moves samsung_asoc_dma_platform_register() call before registering any components, to the common place, where driver was gathering all needed resources. In case of Samsung Exynos i2s driver the issue was even worse. The driver managed already to register its secondary DAI platform device before even getting the DMA engine access. That together with -EPROBE_DEFER error code from samsung_i2s_probe() immediately triggered another round of deferred probe retry and in turn endless loop of driver probing. This patch fixes broken boot on Odroid XU3 and other Exynos5422-based boards. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/mn10300')
0 files changed, 0 insertions, 0 deletions