Messages in this thread | | | From | Felipe Balbi <> | Subject | Re: [PATCH 2/3] usb: xhci: Add DbC support in xHCI driver | Date | Fri, 21 Jul 2017 13:31:43 +0300 |
| |
Hi,
Lu Baolu <baolu.lu@linux.intel.com> writes: > +static void xhci_dbc_stop(struct xhci_hcd *xhci) > +{ > + struct xhci_dbc *dbc = xhci->dbc; > + > + WARN_ON(!dbc); > + > + cancel_delayed_work_sync(&dbc->event_work); > + > + if (dbc->gs_port_num != GSPORT_INVAL) { > + gserial_disconnect(&dbc->gs_port); > + gserial_free_line(dbc->gs_port_num);
why are you tying host stack to the gadget framework?
With this, you're forcing every single PC in the world to compile the gadget framework, that's a bit much don't you think?
-- balbi [unhandled content-type:application/pgp-signature]
| |