USB: usb_debug: fix indentation
Use tabs for indentation. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
1ce7b9349f
commit
e63aa508f2
@@ -40,7 +40,7 @@ static struct usb_driver debug_driver = {
|
|||||||
.probe = usb_serial_probe,
|
.probe = usb_serial_probe,
|
||||||
.disconnect = usb_serial_disconnect,
|
.disconnect = usb_serial_disconnect,
|
||||||
.id_table = id_table,
|
.id_table = id_table,
|
||||||
.no_dynamic_id = 1,
|
.no_dynamic_id = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* This HW really does not support a serial break, so one will be
|
/* This HW really does not support a serial break, so one will be
|
||||||
@@ -59,8 +59,8 @@ static void usb_debug_read_bulk_callback(struct urb *urb)
|
|||||||
struct usb_serial_port *port = urb->context;
|
struct usb_serial_port *port = urb->context;
|
||||||
|
|
||||||
if (urb->actual_length == USB_DEBUG_BRK_SIZE &&
|
if (urb->actual_length == USB_DEBUG_BRK_SIZE &&
|
||||||
memcmp(urb->transfer_buffer, USB_DEBUG_BRK,
|
memcmp(urb->transfer_buffer, USB_DEBUG_BRK,
|
||||||
USB_DEBUG_BRK_SIZE) == 0) {
|
USB_DEBUG_BRK_SIZE) == 0) {
|
||||||
usb_serial_handle_break(port);
|
usb_serial_handle_break(port);
|
||||||
usb_serial_generic_submit_read_urb(port, GFP_ATOMIC);
|
usb_serial_generic_submit_read_urb(port, GFP_ATOMIC);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user