linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Enable PPS reporting for USB serial devices V2
@ 2013-09-13 15:35 Paul Chavent
  2013-09-13 15:35 ` [PATCH 1/3] USB : serial : call handle_dcd_change in ftdi driver Paul Chavent
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Paul Chavent @ 2013-09-13 15:35 UTC (permalink / raw)
  To: linux-usb, gregkh, jhovold, fschaefer.oss, jslaby, max, giometti
  Cc: linux-kernel, Paul Chavent

Hi.

This series enable the PPS reporting for USB serial devices (second
submission).

As opposed to the previous one this patch doesn't change the
usb_serial_handle_dcd_change interface, and only add the minimum of
code in order to enable the PPS over USB serial devices. It also add
some comments in the PPS documentation to warn about the unprecision
of this solution.

Patch 01 : call dcd_change handler in the ftdi driver.

Patch 02 : add the callback to the line discipline dcd_change handler.

Patch 03 : this patch is optional. While reading the code i've found
that wake_up_interruptible was often called after status processing
(ch341, 8250, ...). So i suggest to move this one.

Thank for your comments.

Regards.

Paul.

Paul Chavent (3):
  USB : serial : call handle_dcd_change in ftdi driver.
  USB : serial : invoke dcd_change ldisc's handler.
  USB : serial : pl2303 wake up after dcd status check.

 Documentation/pps/pps.txt     | 15 +++++++++++++++
 drivers/usb/serial/ftdi_sio.c |  8 +++++++-
 drivers/usb/serial/generic.c  |  9 +++++++++
 drivers/usb/serial/pl2303.c   | 17 +++++++++--------
 4 files changed, 40 insertions(+), 9 deletions(-)

-- 
1.7.12.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-09-13 19:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-13 15:35 [PATCH 0/3] Enable PPS reporting for USB serial devices V2 Paul Chavent
2013-09-13 15:35 ` [PATCH 1/3] USB : serial : call handle_dcd_change in ftdi driver Paul Chavent
2013-09-13 15:47   ` Greg KH
2013-09-13 15:51   ` Johan Hovold
2013-09-13 19:08   ` Sergei Shtylyov
2013-09-13 15:35 ` [PATCH 2/3] USB : serial : invoke dcd_change ldisc's handler Paul Chavent
2013-09-13 15:47   ` Greg KH
2013-09-13 15:53   ` Johan Hovold
2013-09-13 17:12   ` Rodolfo Giometti
2013-09-13 19:12   ` Sergei Shtylyov
2013-09-13 15:35 ` [PATCH 3/3] USB : serial : pl2303 wake up after dcd status check Paul Chavent
2013-09-13 16:23   ` Johan Hovold
2013-09-13 16:22     ` Paul Chavent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).