aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorDaniel Mack <[email protected]>2012-03-19 09:12:53 +0100
committerMark Brown <[email protected]>2012-03-19 12:47:25 +0000
commit273b72c8ce6b28df6b49423d775c3e59072c73c5 (patch)
treeb96da830969b5c433ad672cb5f87a350fb9ff447 /net/lapb/lapb_iface.c
parent70ac07bb633dee75ac554195b9a4d69adfa7803c (diff)
ASoC: pxa-ssp: atomically set stream active masks
PXA's SSP engine fails to take its current channel phase into account when enabling a stream while the engine is already running. This results in randomly swapped left/right channels on either the record or the playback side, depending on which one was enabled first. The following patch fixes this by factoring out the bit field modifications in question to a separate function that pauses the engine temporarily, modifies the bits and kicks it off again afterwards. Appearantly, a transition of SSCR0_SSE syncs both directions properly. The patch has been rolled out to quite a number of devices over the last weeks and seems to fix the issue reliably. Signed-off-by: Daniel Mack <[email protected]> Reported-and-tested-by: Sven Neumann <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions