usb: dwc3: ep0: fix checkpatch warnings
no functional changes Signed-off-by: Felipe Balbi <balbi@kernel.org>
This commit is contained in:
@ -105,7 +105,7 @@ static int __dwc3_gadget_ep0_queue(struct dwc3_ep *dep,
|
|||||||
* IRQ we were waiting for is long gone.
|
* IRQ we were waiting for is long gone.
|
||||||
*/
|
*/
|
||||||
if (dep->flags & DWC3_EP_PENDING_REQUEST) {
|
if (dep->flags & DWC3_EP_PENDING_REQUEST) {
|
||||||
unsigned direction;
|
unsigned int direction;
|
||||||
|
|
||||||
direction = !!(dep->flags & DWC3_EP0_DIR_IN);
|
direction = !!(dep->flags & DWC3_EP0_DIR_IN);
|
||||||
|
|
||||||
@ -127,7 +127,7 @@ static int __dwc3_gadget_ep0_queue(struct dwc3_ep *dep,
|
|||||||
* handle it here.
|
* handle it here.
|
||||||
*/
|
*/
|
||||||
if (dwc->delayed_status) {
|
if (dwc->delayed_status) {
|
||||||
unsigned direction;
|
unsigned int direction;
|
||||||
|
|
||||||
direction = !dwc->ep0_expect_in;
|
direction = !dwc->ep0_expect_in;
|
||||||
dwc->delayed_status = false;
|
dwc->delayed_status = false;
|
||||||
@ -172,7 +172,7 @@ static int __dwc3_gadget_ep0_queue(struct dwc3_ep *dep,
|
|||||||
* XferNotReady(STATUS).
|
* XferNotReady(STATUS).
|
||||||
*/
|
*/
|
||||||
if (dwc->three_stage_setup) {
|
if (dwc->three_stage_setup) {
|
||||||
unsigned direction;
|
unsigned int direction;
|
||||||
|
|
||||||
direction = dwc->ep0_expect_in;
|
direction = dwc->ep0_expect_in;
|
||||||
dwc->ep0state = EP0_DATA_PHASE;
|
dwc->ep0state = EP0_DATA_PHASE;
|
||||||
|
Reference in New Issue
Block a user