lkml.org 
[lkml]   [2011]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: Question: GPIO driver how to get irq_base
Date
Hi,

Modifying parameter of poll ( ) like below, poll ( ) becomes blocked correctly.
pfd.events = POLLPRI | POLLERR
And I can confirm when GPIO driver detects edge changing,
the blocked poll ( ) is released correctly.

Thanks,
-----------------------------------------
Tomoya MORINAGA
OKI SEMICONDUCTOR CO., LTD.

> -----Original Message-----
> From: linux-kernel-owner@vger.kernel.org
> [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of
> Tomoya MORINAGA
> Sent: Monday, May 16, 2011 7:39 PM
> To: 'Lars-Peter Clausen'; 'Grant Likely'
> Cc: linux-kernel@vger.kernel.org; toshiharu-linux@dsn.okisemi.com
> Subject: RE: Question: GPIO driver how to get irq_base
>
> Hi,
>
> Pch_gpio driver can become detecting falling/rising edge.
> I attached the latest GPIO driver, usermode TP and the result.
>
> However, "poll( )" of gpio_tp behavior is different than I
> anticipated.
> The "poll" is not blocked. (The returned value looks good)
>
> My anticipated behavior is
> Execute gpio_tp (blocked at poll( ))
> (Detect edge)
> Interrupt handler of pch_gpio is called
> Blocked poll( ) becomes released.
>
> Let me know your opinion.
>
> With Best Regards,
> -----------------------------------------
> Tomoya MORINAGA
> OKI SEMICONDUCTOR CO., LTD.
>



\
 
 \ /
  Last update: 2011-05-17 04:09    [W:0.051 / U:2.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site