Beagleboard-xM "gadget: usb_ep_queue error on int endpoint" error after soft reset

Hi,
i’m using a Beagleboard-xM board as a HID keyboard gadget device. Everything works well, except that after sw reboot (so saying reboot in console) or after resetting the board with the reset button (but not interrupting the power nor the USB to the host), i can’t write into my /deb/hidg0 device, and i got this error message from the kernel:

gadget: usb_ep_queue error on int endpoint 4294967188

my kernel is:

uname -a

Linux beagleboard-xm 3.2.8-mg01.3 #2 SMP PREEMPT Sun Jul 7 23:36:45 CEST 2013 armv7l GNU/Linux

I suppose somehow the USB OTG controller doesn’t reseted properly… Is there any way to do a reset on the OTG controller from my software (either from user- or kernelspace?) Did somebody experienced similar issue?

Thanks in advance, best regards:
zgyarmati