Title: [7654] trunk/sound/soc/blackfin: a DAI should get a device
Revision
7654
Author
bhsong
Date
2009-10-15 06:00:30 -0400 (Thu, 15 Oct 2009)

Log Message

a DAI should get a device

Modified Paths


Diff

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


--- trunk/sound/soc/blackfin/bf5xx-ac97.c	2009-10-15 09:02:19 UTC (rev 7653)
+++ trunk/sound/soc/blackfin/bf5xx-ac97.c	2009-10-15 10:00:30 UTC (rev 7654)
@@ -348,6 +348,7 @@
 	}
 
 	bfin_ac97_dai.private_data = sport_handle;
+	bfin_ac97_dai.dev = &pdev->dev;
 	platform_set_drvdata(pdev, sport_handle);
 	sport_handle->private_data = cmd_count;
 

Modified: trunk/sound/soc/blackfin/bf5xx-i2s.c (7653 => 7654)


--- trunk/sound/soc/blackfin/bf5xx-i2s.c	2009-10-15 09:02:19 UTC (rev 7653)
+++ trunk/sound/soc/blackfin/bf5xx-i2s.c	2009-10-15 10:00:30 UTC (rev 7654)
@@ -264,6 +264,7 @@
 	}
 
 	bf5xx_i2s_dai.private_data = sport_handle;
+	bf5xx_i2s_dai.dev = &pdev->dev;
 	platform_set_drvdata(pdev, sport_handle);
 	sport_handle->private_data = bf5xx_i2s;
 

Modified: trunk/sound/soc/blackfin/bf5xx-tdm.c (7653 => 7654)


--- trunk/sound/soc/blackfin/bf5xx-tdm.c	2009-10-15 09:02:19 UTC (rev 7653)
+++ trunk/sound/soc/blackfin/bf5xx-tdm.c	2009-10-15 10:00:30 UTC (rev 7654)
@@ -275,6 +275,7 @@
 	}
 
 	bf5xx_tdm_dai.private_data = sport_handle;
+	bf5xx_tdm_dai.dev = &pdev->dev;
 	platform_set_drvdata(pdev, sport_handle);
 	sport_handle->private_data = bf5xx_tdm;
 
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to