]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: davinci-mcasp: Do not touch 0x04 register above McASP_VERSION_2
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 4 Apr 2014 12:56:30 +0000 (15:56 +0300)
committerMark Brown <broonie@linaro.org>
Mon, 14 Apr 2014 19:45:33 +0000 (20:45 +0100)
commit40448e5e977b59a4753fce3619f537b63fcedc02
treea70943c4e555b5c3b4d65f2120434b57baef683c
parent3c25f916d378da6f06874abfc5c18e5a40e2d8c0
ASoC: davinci-mcasp: Do not touch 0x04 register above McASP_VERSION_2

This register is not defined in TI81xx and on AM335x/AM437x it is the
SYSCONFIG register which should not be touched by drivers since it is
related to PM and handled by the generic PM code.
This register write was there since the first time the davinci-mcasp driver
was appeared in the kernel.
The reason why it did not caused any issues on AM335x/AM437x is that it sets
bit 1 in SYSCONFIG register which in turn will enable the smart-idle mode.
This is the default mode and this is the mode McASP should be in also when
in use.
On TI81xx the register is not defined.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/davinci/davinci-mcasp.c