[alsa-devel] [PATCH] Allow passing platform_data to devices attached to AC97 bus

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Jul 21 20:27:54 CEST 2009

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).

More information about the Alsa-devel mailing list