[alsa-devel] [PATCH] Palm interrupt driven touchscreen driver

Takashi Iwai tiwai at suse.de
Thu Jun 4 11:44:22 CEST 2009


At Thu, 4 Jun 2009 10:37:37 +0100,
Mark Brown wrote:
> 
> On Thu, Jun 04, 2009 at 11:09:34AM +0200, Jaroslav Kysela wrote:
> > On Thu, 4 Jun 2009, Mark Brown wrote:
> 
> >> As I've said a number of times before AC97 does not support platform
> >> data and the ALSA guys blocked adding it.
> 
> > We're not blocking adding more data to AC97 structures. We just blocked  
> > adding new variable when it's not used.
> 
> There was a very strong pushback against the idea of adding a void *
> to the structure, which is what I'd be looking for.

Yes, I was against the void pointer because there is no guarantee
of the data-type correctness between the data and the user.
The normal drvdata is fine because the creator and the user are the
same.  But, the proposal of private_driver_data (of the last one, at
least) is no such a scenario.


Takashi


More information about the Alsa-devel mailing list