-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ALSA] soc - ASoC 0.13 pxa2xx AC97 driver
This patch updates the pxa2xx AC97 driver to the new API in ASoC 0.13. Changes:- o Removed DAI capabilities matching code in favour of manual matching in the machine drivers. o Added DAI operations for codec and CPU interfaces. o Added pxa2xx-ac97.h header Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
- Loading branch information
Liam Girdwood
authored and
Jaroslav Kysela
committed
Feb 9, 2007
1 parent
eaff2ae
commit 596ce32
Showing
2 changed files
with
51 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* linux/sound/arm/pxa2xx-ac97.h | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
*/ | ||
|
||
#ifndef _PXA2XX_AC97_H | ||
#define _PXA2XX_AC97_H | ||
|
||
/* pxa2xx DAI ID's */ | ||
#define PXA2XX_DAI_AC97_HIFI 0 | ||
#define PXA2XX_DAI_AC97_AUX 1 | ||
#define PXA2XX_DAI_AC97_MIC 2 | ||
|
||
extern struct snd_soc_cpu_dai pxa_ac97_dai[3]; | ||
|
||
/* platform data */ | ||
extern struct snd_ac97_bus_ops pxa2xx_ac97_ops; | ||
|
||
#endif |