forked from Minki/linux
273b72c8ce
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 <zonque@gmail.com> Reported-and-tested-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: stable@vger.kernel.org |
||
---|---|---|
.. | ||
corgi.c | ||
e740_wm9705.c | ||
e750_wm9705.c | ||
e800_wm9712.c | ||
em-x270.c | ||
hx4700.c | ||
imote2.c | ||
Kconfig | ||
magician.c | ||
Makefile | ||
mioa701_wm9713.c | ||
palm27x.c | ||
poodle.c | ||
pxa2xx-ac97.c | ||
pxa2xx-ac97.h | ||
pxa2xx-i2s.c | ||
pxa2xx-i2s.h | ||
pxa2xx-pcm.c | ||
pxa-ssp.c | ||
pxa-ssp.h | ||
raumfeld.c | ||
saarb.c | ||
spitz.c | ||
tavorevb3.c | ||
tosa.c | ||
z2.c | ||
zylonite.c |