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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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).
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux