Title: [6963] trunk/sound/soc/blackfin/bf5xx-ac97.c: bug[#5330]don't start playback/capture in resume,pcm driver will do it
Revision
6963
Author
cliff
Date
2009-07-10 05:20:03 -0500 (Fri, 10 Jul 2009)

Log Message

bug[#5330]don't start playback/capture in resume,pcm driver will do it

Modified Paths

Diff

Modified: trunk/sound/soc/blackfin/bf5xx-ac97.c (6962 => 6963)


--- trunk/sound/soc/blackfin/bf5xx-ac97.c	2009-07-10 10:18:48 UTC (rev 6962)
+++ trunk/sound/soc/blackfin/bf5xx-ac97.c	2009-07-10 10:20:03 UTC (rev 6963)
@@ -277,28 +277,24 @@
 	if (!dai->active)
 		return 0;
 
-	ret = sport_set_multichannel(sport_handle, 16, 0x1F, 1);
+	ret = sport_set_multichannel(sport, 16, 0x1F, 1);
 	if (ret) {
 		pr_err("SPORT is busy!\n");
 		return -EBUSY;
 	}
 
-	ret = sport_config_rx(sport_handle, IRFS, 0xF, 0, (16*16-1));
+	ret = sport_config_rx(sport, IRFS, 0xF, 0, (16*16-1));
 	if (ret) {
 		pr_err("SPORT is busy!\n");
 		return -EBUSY;
 	}
 
-	ret = sport_config_tx(sport_handle, ITFS, 0xF, 0, (16*16-1));
+	ret = sport_config_tx(sport, ITFS, 0xF, 0, (16*16-1));
 	if (ret) {
 		pr_err("SPORT is busy!\n");
 		return -EBUSY;
 	}
 
-	if (dai->capture.active)
-		sport_rx_start(sport);
-	if (dai->playback.active)
-		sport_tx_start(sport);
 	return 0;
 }
 
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to