-
由 David Ward 提交于
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: NBjørn Mork <bjorn@mork.no> Suggested-by: NJohan Hovold <johan@kernel.org> Signed-off-by: NDavid Ward <david.ward@ll.mit.edu> Signed-off-by: NJohan Hovold <johan@kernel.org>
669e729f