ASoC: core: Flip master for CODECs in the CPU slot of a CODEC<->CODEC link
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 9 Apr 2012 15:29:21 +0000 (16:29 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 16 Apr 2012 18:36:29 +0000 (19:36 +0100)
commitf04209a7b0a9942aa78f8b27e63a8a5cc097adf8
treeb2f07c053c943e370dd2ab39c17fdd5f132e9779
parent1eee1b3833d67eb52c0f4d293cbb796a776c5eed
ASoC: core: Flip master for CODECs in the CPU slot of a CODEC<->CODEC link

When two CODEC DAIs are linked directly to each other then if we give the
same master mode settings to both devices things won't work as either
neither will drive or they'll drive against each other. Flip the settings
for the DAI in the CPU slot of the DAI link.

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