I'm facing an serious issue. I'm using my i.MX53 QSB connected to a host PC via USB, using g_serial driver (gadget serial).
Everything works fine until I simply unplug the USB connector without unload g_serial driver. When I've done this, system hangs and I need to press reset button.
Does anyone has already dealt with this same problem? How can I debug this situation to find where system is hanging?
Thanks in advance!