]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: don't flip master of DT-instantiated DAI links
authorStephen Warren <swarren@nvidia.com>
Mon, 14 May 2012 20:47:22 +0000 (14:47 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 16 May 2012 08:44:18 +0000 (09:44 +0100)
commitc416b91cf9a8fb7382b8f6742190b52b483aea56
treea12695d4ba13416ca8a5fe681f1cf10813d9af39
parent3ad43c3d28011418b89fcd193a66087fd069ae5d
ASoC: don't flip master of DT-instantiated DAI links

Commit 4924082 "ASoC: core: Flip master for CODECs in the CPU slot of a
CODEC<->CODEC link" added code that was conditional on there being no
PCM/DMA driver for the link. However, it failed to cover the case where
the link was instantiated from device tree, and hence was specified by
DT node rather than name.

This prevents the following error on Toshiba AC100:
aplay: pcm_write:1603: write error: Input/output error

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c