Re: [PATCH] pps : add non blocking option to PPS_FETCH ioctl.

2013-10-16 Thread Andrew Morton
On Wed, 16 Oct 2013 09:29:58 +0200 Rodolfo Giometti wrote: > On Wed, Oct 16, 2013 at 08:52:47AM +0200, Paul Chavent wrote: > > > > I would also prefer the separate ioctl. As you said it, it's a bit > > annoying to switch from blocking mode to non blocking mode if we > > need both mode. But i wa

Re: [PATCH] pps : add non blocking option to PPS_FETCH ioctl.

2013-10-16 Thread Rodolfo Giometti
On Wed, Oct 16, 2013 at 08:52:47AM +0200, Paul Chavent wrote: > > I would also prefer the separate ioctl. As you said it, it's a bit > annoying to switch from blocking mode to non blocking mode if we > need both mode. But i was not sure about the preferences of the > maintainer : (i) change the ap

Re: [PATCH] pps : add non blocking option to PPS_FETCH ioctl.

2013-10-16 Thread Paul Chavent
On 10/15/2013 09:55 PM, Andrew Morton wrote: On Tue, 15 Oct 2013 12:43:50 +0200 Rodolfo Giometti wrote: On Fri, Oct 11, 2013 at 12:47:20PM -0700, Andrew Morton wrote: On Fri, 11 Oct 2013 14:40:32 +0200 Paul Chavent wrote: The PPS_FETCH ioctl is blocking still the reception of a PPS even

Re: [PATCH] pps : add non blocking option to PPS_FETCH ioctl.

2013-10-15 Thread Andrew Morton
On Tue, 15 Oct 2013 12:43:50 +0200 Rodolfo Giometti wrote: > On Fri, Oct 11, 2013 at 12:47:20PM -0700, Andrew Morton wrote: > > On Fri, 11 Oct 2013 14:40:32 +0200 Paul Chavent > > wrote: > > > > > The PPS_FETCH ioctl is blocking still the reception of a PPS > > > event. But, in some case, one

Re: [PATCH] pps : add non blocking option to PPS_FETCH ioctl.

2013-10-15 Thread Rodolfo Giometti
On Fri, Oct 11, 2013 at 12:47:20PM -0700, Andrew Morton wrote: > On Fri, 11 Oct 2013 14:40:32 +0200 Paul Chavent wrote: > > > The PPS_FETCH ioctl is blocking still the reception of a PPS > > event. But, in some case, one may immediately need the last event > > date. This patch allow to get the re

Re: [PATCH] pps : add non blocking option to PPS_FETCH ioctl.

2013-10-11 Thread Andrew Morton
On Fri, 11 Oct 2013 14:40:32 +0200 Paul Chavent wrote: > The PPS_FETCH ioctl is blocking still the reception of a PPS > event. But, in some case, one may immediately need the last event > date. This patch allow to get the result of PPS_FETCH if the device > has the O_NONBLOCK flag set. Are the P

[PATCH] pps : add non blocking option to PPS_FETCH ioctl.

2013-10-11 Thread Paul Chavent
The PPS_FETCH ioctl is blocking still the reception of a PPS event. But, in some case, one may immediately need the last event date. This patch allow to get the result of PPS_FETCH if the device has the O_NONBLOCK flag set. Signed-off-by: Paul Chavent Acked-by: Rodolfo Giometti --- drivers/pps/

Re: [PATCH] pps : add non blocking option to PPS_FETCH ioctl.

2013-10-11 Thread Rodolfo Giometti
On Fri, Oct 11, 2013 at 10:42:56AM +0200, Paul Chavent wrote: > Hi. > > I haven't had any feedback for weeks. I join a patch with more > details in the commit message if needed. If I well remember I already acked this patch. So please add my Acked-by line to the patch. > Do you know someone resp

Re: [PATCH] pps : add non blocking option to PPS_FETCH ioctl.

2013-10-11 Thread Paul Chavent
wrote: Signed-off-by: Paul Chavent Acked: Rodolfo Giometti >From 370fca528140f879957a1b717fe9c13855d5c7f7 Mon Sep 17 00:00:00 2001 From: Paul Chavent Date: Wed, 4 Sep 2013 10:09:43 +0200 Subject: [PATCH] pps : add non blocking option to PPS_FETCH ioctl (v2). This new version add a commit

Re: [PATCH] pps : add non blocking option to PPS_FETCH ioctl.

2013-09-06 Thread Rodolfo Giometti
On Wed, Sep 04, 2013 at 10:20:38AM +0200, Paul Chavent wrote: > Signed-off-by: Paul Chavent Acked: Rodolfo Giometti -- GNU/Linux Solutions e-mail: giome...@enneenne.com Linux Device Driver giome...@linux.it Embedded Systems phone:

[PATCH] pps : add non blocking option to PPS_FETCH ioctl.

2013-09-04 Thread Paul Chavent
Signed-off-by: Paul Chavent --- drivers/pps/pps.c | 57 +-- 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a/drivers/pps/pps.c b/drivers/pps/pps.c index 7173e3a..86ff57e 100644 --- a/drivers/pps/pps.c +++ b/drivers/pps/pps.c @@ -1