• Felipe Balbi's avatar
    usb: dwc3: gadget: add a pointer to endpoint registers · 2eb88016
    Felipe Balbi authored
    By adding a pointer to endpoint registers' base
    address, we can avoid using our controller-wide
    struct dwc3 pointer for everything. At some point
    this will allow us to have per-endpoint locks which
    will, in turn, let us queue requests to separate
    endpoints in parallel.
    
    Because of this change our debugfs interface and io
    accessors need to be changed accordingly.
    Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
    2eb88016
io.h 2.09 KB