[PATCH 0/3] Enable PPS reporting for USB serial devices V2

From: Paul Chavent
Date: Fri Sep 13 2013 - 11:42:40 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/