[alsa-devel] [PATCH 2/4] ASoC: pxa-ssp: PXA2xx/3xx SSP ports start from 1, not 0

Philipp Zabel philipp.zabel at gmail.com
Tue Feb 3 17:19:41 CET 2009


Signed-off-by: Philipp Zabel <philipp.zabel at gmail.com>
---
 sound/soc/pxa/pxa-ssp.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sound/soc/pxa/pxa-ssp.c b/sound/soc/pxa/pxa-ssp.c
index 73cb6b4..5ee544b 100644
--- a/sound/soc/pxa/pxa-ssp.c
+++ b/sound/soc/pxa/pxa-ssp.c
@@ -785,7 +785,7 @@ static void pxa_ssp_remove(struct platform_device *pdev,
 struct snd_soc_dai pxa_ssp_dai[] = {
 	{
 		.name = "pxa2xx-ssp1",
-		.id = 0,
+		.id = 1,
 		.probe = pxa_ssp_probe,
 		.remove = pxa_ssp_remove,
 		.suspend = pxa_ssp_suspend,
@@ -816,7 +816,7 @@ struct snd_soc_dai pxa_ssp_dai[] = {
 		},
 	},
 	{	.name = "pxa2xx-ssp2",
-		.id = 1,
+		.id = 2,
 		.probe = pxa_ssp_probe,
 		.remove = pxa_ssp_remove,
 		.suspend = pxa_ssp_suspend,
@@ -848,7 +848,7 @@ struct snd_soc_dai pxa_ssp_dai[] = {
 	},
 	{
 		.name = "pxa2xx-ssp3",
-		.id = 2,
+		.id = 3,
 		.probe = pxa_ssp_probe,
 		.remove = pxa_ssp_remove,
 		.suspend = pxa_ssp_suspend,
@@ -880,7 +880,7 @@ struct snd_soc_dai pxa_ssp_dai[] = {
 	},
 	{
 		.name = "pxa2xx-ssp4",
-		.id = 3,
+		.id = 4,
 		.probe = pxa_ssp_probe,
 		.remove = pxa_ssp_remove,
 		.suspend = pxa_ssp_suspend,
-- 
1.5.6.5



More information about the Alsa-devel mailing list