usb: gadget: sdp: add missing line breaks
Cosmetic change. Signed-off-by: Andre Heider <a.heider@gmail.com> Reviewed-by: Lukasz Majewski <lukma@denx.de> Acked-by: Stefan Agner <stefan.agner@toradex.com>
This commit is contained in:
committed by
Marek Vasut
parent
f0f6917188
commit
24ccd0c8fd
@@ -238,12 +238,12 @@ static void sdp_rx_command_complete(struct usb_ep *ep, struct usb_request *req)
|
||||
u8 report = data[0];
|
||||
|
||||
if (status != 0) {
|
||||
pr_err("Status: %d", status);
|
||||
pr_err("Status: %d\n", status);
|
||||
return;
|
||||
}
|
||||
|
||||
if (report != 1) {
|
||||
pr_err("Unexpected report %d", report);
|
||||
pr_err("Unexpected report %d\n", report);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -323,12 +323,12 @@ static void sdp_rx_data_complete(struct usb_ep *ep, struct usb_request *req)
|
||||
int datalen = req->length - 1;
|
||||
|
||||
if (status != 0) {
|
||||
pr_err("Status: %d", status);
|
||||
pr_err("Status: %d\n", status);
|
||||
return;
|
||||
}
|
||||
|
||||
if (report != 2) {
|
||||
pr_err("Unexpected report %d", report);
|
||||
pr_err("Unexpected report %d\n", report);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -361,7 +361,7 @@ static void sdp_rx_data_complete(struct usb_ep *ep, struct usb_request *req)
|
||||
sdp->state = SDP_STATE_TX_SEC_CONF;
|
||||
break;
|
||||
default:
|
||||
pr_err("Invalid state: %d", sdp->state);
|
||||
pr_err("Invalid state: %d\n", sdp->state);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -371,7 +371,7 @@ static void sdp_tx_complete(struct usb_ep *ep, struct usb_request *req)
|
||||
int status = req->status;
|
||||
|
||||
if (status != 0) {
|
||||
pr_err("Status: %d", status);
|
||||
pr_err("Status: %d\n", status);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -394,7 +394,7 @@ static void sdp_tx_complete(struct usb_ep *ep, struct usb_request *req)
|
||||
sdp->state = SDP_STATE_IDLE;
|
||||
break;
|
||||
default:
|
||||
pr_err("Wrong State: %d", sdp->state);
|
||||
pr_err("Wrong State: %d\n", sdp->state);
|
||||
sdp->state = SDP_STATE_IDLE;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user