Messages in this thread | | | Subject | Re: [PATCH 3/8] usb: dwc3: core: Skip setting event buffers for host only controllers | From | Sergei Shtylyov <> | Date | Sun, 12 Mar 2023 12:33:42 +0300 |
| |
On 3/10/23 7:34 PM, Krishna Kurapati wrote:
> On some SoC's like SA8295P where the teritiary controller is host-only
Likewise, tertiary. :-)
> capable, GEVTADDRHI/LO, GEVTSIZ, GEVTCOUNT registers are not accessible. > Trying to setup them up during core_init leads to a crash. > > For DRD/Peripheral supported controllers, event buffer setup is done > again in gadget_pullup. Skip setup or cleanup of event buffers if > controller is host-only capable. > > Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com> [...]
MBR, Sergey
| |