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@xxxxxxxxxxx> [...] MBR, Sergey