Re: [RFC] [PATCH 3/3] ASoC: add support for Amstrad E3 (Delta) machine

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

 



On Wed, Jul 22, 2009 at 09:18:05PM +0200, Janusz Krzysztofik wrote:

> After all, I am not sure what your preferences finally are. If you still think 
> that exporting gpio based jack state from ASoC framework over gpiolib sysfs 
> doesn't hurt and can be usefull, I'll remove the code from my driver and 
> provide a patch against sound/soc/soc-jack.c. But if you would rather prefere 
> exposing jack state in a more general, not gpio limited way instead, or 
> depend on input layer provided EVIOCGSW ioctl, as Dmitry suggested 
> (unfortunatelly, unlike generic ldattach, there is no utility ready for 
> use!), I'd rather keep this gpio_export() in my driver, let's say for 
> diagnostic purposes, at least until that different option is ready for use in 
> a convenient way.

Jack state is already exposed via the input layer by the ALSA jack core.
Reporting of GPIO state via gpio_export() would be additional to that
and would be purely for debug purposes, it would not be recommended for
use by userspace applications.
_______________________________________________
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