596ce32b74
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>
23 lines
518 B
C
23 lines
518 B
C
/*
|
|
* 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
|