Re: [PATCH] asoc tlv320aic3x: add GPIO support

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

 



On Fri, Apr 18, 2008 at 11:26:28PM +0300, Jarkko Nikula wrote:
> No any show stopper either but I just started to think about gpiolib if
> AIC3x GPIOs are used as a GPIO.

I agree in general and thought about alternatives as well, but in this
case, it turns out to be a thing the aic3x driver is responsible to as
the registers in questions are purely in its scope. So the idea is to
set up the GPIO's functions via alsa controls and handle its events in
some board-related code as this is really not abstractable. One could,
however, do this setup in machine-related code within the asoc
environment.

My changes don't cast any problems on the existing implementation
either, so I would suggest to just take this patch until someone comes
up with a more suitable solution :)

Best regards,
Daniel
_______________________________________________
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