21 Jul
2009
21 Jul
'09
5:17 p.m.
At Tue, 21 Jul 2009 17:11:03 +0200, Robert Jarzmik wrote:
Marek Vasut marek.vasut@gmail.com writes:
diff --git a/arch/arm/mach-pxa/include/mach/audio.h b/arch/arm/mach-pxa/include/mach/audio.h index 16eb025..8825b18 100644 --- a/arch/arm/mach-pxa/include/mach/audio.h +++ b/arch/arm/mach-pxa/include/mach/audio.h @@ -20,6 +20,7 @@ typedef struct { void (*resume)(void *); void *priv; int reset_gpio;
- void *codec_pdata[4];
I don't understand where that '4' comes from. Would you explain ?
It's defacto-standard max of AC97 slots. But, yes, a magic number should be defined explicitly.
Takashi