]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Fix mpc5200-psc-ac97 to ensure the data ready bit is cleared
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 2 Jul 2009 17:57:19 +0000 (11:57 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 3 Jul 2009 09:41:46 +0000 (10:41 +0100)
commit69e98f20ccd0c92b6a869418714976cf40286398
treea6ec53bce47517827296430feab9dc8aabd36985
parentb5fddd462aaf48d7eb47ef8cd249e43838e8b2fe
ASoC: Fix mpc5200-psc-ac97 to ensure the data ready bit is cleared

When doing register reads, it is possible for there to be a stale
data ready bit set which will cause subsequent reads to return
prematurely with incorrect data.  This patch fixes the issues by
ensuring stale data is cleared before starting another transaction.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Jon Smirl <jonsmirl@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/fsl/mpc5200_psc_ac97.c