Title: [8163] trunk/sound/soc/codecs/adau1371.c: task[#5591]use hardware read method for real read
Revision
8163
Author
cliff
Date
2010-01-14 21:39:49 -0500 (Thu, 14 Jan 2010)

Log Message

task[#5591]use hardware read method for real read

Modified Paths

Diff

Modified: trunk/sound/soc/codecs/adau1371.c (8162 => 8163)


--- trunk/sound/soc/codecs/adau1371.c	2010-01-14 17:00:24 UTC (rev 8162)
+++ trunk/sound/soc/codecs/adau1371.c	2010-01-15 02:39:49 UTC (rev 8163)
@@ -627,8 +627,7 @@
 	do {
 		++counter;
 		schedule_timeout_interruptible(msecs_to_jiffies(1));
-		snd_soc_read(codec, ADAU1371_PLLCTLB);
-	} while (((snd_soc_read(codec, ADAU1371_PLLCTLB)) & 0x02) == 0
+	} while (((codec->hw_read(codec, ADAU1371_PLLCTLB)) & 0x02) == 0
 			&& counter < 20);
 	if (counter >= 20) {
 		dev_err(codec->dev, "failed to initialize PLL\n");
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to