Home
last modified time | relevance | path

Searched hist:"669 e729f9fb4e05ff02dfa01cbb8606549c6cb7c" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/usb/serial/
H A Dusb-wwan.hdiff 669e729f9fb4e05ff02dfa01cbb8606549c6cb7c Wed Sep 16 11:27:57 CDT 2015 David Ward <david.ward@ll.mit.edu> USB: usb_wwan/option: generalize option_send_setup for other drivers

Only the option driver implements the send_setup callback; it uses the
SET_CONTROL_LINE_STATE request in CDC ACM to generate DTR/RTS signals
on the port. This is not driver-specific though and is needed by other
drivers, so move the function to the usb_wwan driver (with formatting
tweaks), and replace the callback pointer with a flag that enables the
request.

Suggested-by: Bjørn Mork <bjorn@mork.no>
Suggested-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David Ward <david.ward@ll.mit.edu>
Signed-off-by: Johan Hovold <johan@kernel.org>
H A Dusb_wwan.cdiff 669e729f9fb4e05ff02dfa01cbb8606549c6cb7c Wed Sep 16 11:27:57 CDT 2015 David Ward <david.ward@ll.mit.edu> USB: usb_wwan/option: generalize option_send_setup for other drivers

Only the option driver implements the send_setup callback; it uses the
SET_CONTROL_LINE_STATE request in CDC ACM to generate DTR/RTS signals
on the port. This is not driver-specific though and is needed by other
drivers, so move the function to the usb_wwan driver (with formatting
tweaks), and replace the callback pointer with a flag that enables the
request.

Suggested-by: Bjørn Mork <bjorn@mork.no>
Suggested-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David Ward <david.ward@ll.mit.edu>
Signed-off-by: Johan Hovold <johan@kernel.org>
H A Doption.cdiff 669e729f9fb4e05ff02dfa01cbb8606549c6cb7c Wed Sep 16 11:27:57 CDT 2015 David Ward <david.ward@ll.mit.edu> USB: usb_wwan/option: generalize option_send_setup for other drivers

Only the option driver implements the send_setup callback; it uses the
SET_CONTROL_LINE_STATE request in CDC ACM to generate DTR/RTS signals
on the port. This is not driver-specific though and is needed by other
drivers, so move the function to the usb_wwan driver (with formatting
tweaks), and replace the callback pointer with a flag that enables the
request.

Suggested-by: Bjørn Mork <bjorn@mork.no>
Suggested-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David Ward <david.ward@ll.mit.edu>
Signed-off-by: Johan Hovold <johan@kernel.org>