usb: xhci: dbc: Fixing typo error.

Replaced "xhci_dbc_flush_reqests" with xhci_dbc_flush_requests".

Signed-off-by: Prabhat Chand Pandey <prabhat.chand.pandey@intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Prabhat Chand Pandey 2019-02-20 19:50:55 +02:00 committed by Greg Kroah-Hartman
parent 58f7691fd7
commit ea5cc92517
1 changed files with 3 additions and 3 deletions

View File

@ -181,7 +181,7 @@ static void xhci_dbc_flush_endpoint_requests(struct dbc_ep *dep)
xhci_dbc_flush_single_request(req); xhci_dbc_flush_single_request(req);
} }
static void xhci_dbc_flush_reqests(struct xhci_dbc *dbc) static void xhci_dbc_flush_requests(struct xhci_dbc *dbc)
{ {
xhci_dbc_flush_endpoint_requests(&dbc->eps[BULK_OUT]); xhci_dbc_flush_endpoint_requests(&dbc->eps[BULK_OUT]);
xhci_dbc_flush_endpoint_requests(&dbc->eps[BULK_IN]); xhci_dbc_flush_endpoint_requests(&dbc->eps[BULK_IN]);
@ -687,7 +687,7 @@ static enum evtreturn xhci_dbc_do_handle_events(struct xhci_dbc *dbc)
!(portsc & DBC_PORTSC_CONN_STATUS)) { !(portsc & DBC_PORTSC_CONN_STATUS)) {
xhci_info(xhci, "DbC cable unplugged\n"); xhci_info(xhci, "DbC cable unplugged\n");
dbc->state = DS_ENABLED; dbc->state = DS_ENABLED;
xhci_dbc_flush_reqests(dbc); xhci_dbc_flush_requests(dbc);
return EVT_DISC; return EVT_DISC;
} }
@ -697,7 +697,7 @@ static enum evtreturn xhci_dbc_do_handle_events(struct xhci_dbc *dbc)
xhci_info(xhci, "DbC port reset\n"); xhci_info(xhci, "DbC port reset\n");
writel(portsc, &dbc->regs->portsc); writel(portsc, &dbc->regs->portsc);
dbc->state = DS_ENABLED; dbc->state = DS_ENABLED;
xhci_dbc_flush_reqests(dbc); xhci_dbc_flush_requests(dbc);
return EVT_DISC; return EVT_DISC;
} }