Re: [RFC] ucb1400 touchscreen, irq auto probing and ac97 with its private field

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

 



At Fri, 25 Apr 2008 14:49:08 +0200,
Sebastian Siewior wrote:
> 
> >> What I intended in first place is to allocate a private field in the bus
> >> struct so can pass informations to the lower driver.
> >
> >As mentioned in my earlier mail, I'm fine with your first patch.  The
> >problem occurs when we generalize it.
> Generalize? You mean once you need an array of multiple parameters like
> struct ressource where the controler driver and device driver are
> independent and don't know each other?

Right, that's why void pointer was proposed and I'm against.  The
controller driver and the device driver are independent and
implemented so.  If they have the exlusive tight connection, then you
must have no problem.  But, you can bind any device driver to any
controller driver in theory as long as they use the same bus, and
there is no check to prevent it.


Takashi
_______________________________________________
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