Searched hist:"669 e729f9fb4e05ff02dfa01cbb8606549c6cb7c" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/usb/serial/ |
H A D | usb-wwan.h | diff 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 D | usb_wwan.c | diff 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 D | option.c | diff 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>
|