]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: kirkwood-i2s: fix DCO lock detection
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 20 Nov 2012 12:18:32 +0000 (12:18 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 21 Nov 2012 01:38:38 +0000 (10:38 +0900)
commit19883170bdd227249043bc9fbb7641cfb7d6d3a7
treed0f93331456941926cc6b9a25251077c21060c82
parent2104df2f5126a2268a6f1dae4efe163b3862e9c4
ASoC: kirkwood-i2s: fix DCO lock detection

This is part of a patch found in Rabeeh Khoury's git tree for the
cubox, which is further attributed to Sebastian Hesselbrath.

Rather than masking the KIRKWOOD_DCO_SPCR_STATUS register contents
against the registers virtual address, let's actually use the bit
definition for the locked status, as required in the documentation.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/kirkwood/kirkwood-i2s.c