74e722015f
this patch adds asoc audio driver for pxa27x based Palm PDAs. I tested it for palmtx, t5 and ld, it should work with palmz72 as well (slapin, please test). I sent it here some time ago, but now I got to fixing bugs in it. It should be somehow mostly ok and ready for applying. [Converted to use snd_soc_dapm_nc_pin() and bool Kconfig -- broonie] Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
13 lines
308 B
C
13 lines
308 B
C
#ifndef _INCLUDE_PALMASOC_H_
|
|
#define _INCLUDE_PALMASOC_H_
|
|
struct palm27x_asoc_info {
|
|
int jack_gpio;
|
|
};
|
|
|
|
#ifdef CONFIG_SND_PXA2XX_SOC_PALM27X
|
|
void __init palm27x_asoc_set_pdata(struct palm27x_asoc_info *data);
|
|
#else
|
|
static inline void palm27x_asoc_set_pdata(struct palm27x_asoc_info *data) {}
|
|
#endif
|
|
|
|
#endif
|