Skip to content
Commit 2eb88016 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: dwc3: gadget: add a pointer to endpoint registers



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>
parent 2cd4718d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment