Re: [PATCH] Allow passing platform_data to devices attached to AC97 bus

Mark Brown
2009-07-21T18:27:55Z

On Tue, Jul 21, 2009 at 07:40:21PM +0200, Marek Vasut wrote:
> Dne ??t 21. ??ervence 2009 17:16:07 Takashi Iwai napsal(a):

> +struct wm97xx_touch_pdata {
> + int irq;
> + bool irq_inverted;

The IRQ is not touch-specific, it should be part of the main platform
data. I can't see anything in the patch actually using this or any
other part of the touch platform data, though...

> + int cont_rate;
> + int pen_int;
> + int pressure;
> + int ac97_touch_slot;
> +
> +};

As I said previously this should be able to completely replace the
existing touch configuration. That means the entire mach_ops structure,
plus all the stuff that can be configured via module options (including
the new option for the WM1616).