Re: gpio_get_value in atomic context (was: make gpio-keys use IRQF_SHARED)

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

 



Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> writes:

> On Mon, Oct 12, 2009 at 07:09:50PM +0200, Ferenc Wagner wrote:
>
>>     The gpio_get_value function may sleep, so it should not be
>>     called in a timer function.
>> 
>> So is drivers/staging/dream/gpio_input.c in error, too?
>
> I guess so. Initially gpio method did not sleep but that has
> changed.

Let's make Arve aware of this then (even though it may not affect
Android in practice).
-- 
Feri.
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux