diff options
author | David Ward <david.ward@ll.mit.edu> | 2015-09-16 12:27:57 -0400 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2015-10-09 12:42:40 +0200 |
commit | 669e729f9fb4e05ff02dfa01cbb8606549c6cb7c (patch) | |
tree | d7edd05b71e03caa3af530da3b79c83ff9306f55 /drivers/usb/phy/phy-generic.c | |
parent | bd8869e86b8a1e5e5b29fad766b2676bb74e5395 (diff) |
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>
Diffstat (limited to 'drivers/usb/phy/phy-generic.c')
0 files changed, 0 insertions, 0 deletions