USB error on suspend to mem

Hi all,

I tried to suspend to mem with usb medium attached and I get below errors continuously:

usb usb1: clear tt 1 (9071) error -22

And while wakeup I get following errors continuously:

dwc2 f72c0000.usb: Waiting for Host Mode, Mode=Peripheral

And then the usb is not detected at all after wakeup. Even the usb if attached again does not detect unless board is reset.
I am using 4.4 kernel.

Thanks,
IVID