[PATCH V2] usb: musb: Fix unstable init of OTG_INTERFSEL.

2013-11-28 Thread anaumann
From: Andreas Naumann This is a hard to reproduce problem which leads to non-functional USB-OTG port in 0.1%-1% of all boots. Tracked it down to commit e25bec160158abe86c276d7d206264afc3646281, which introduces save/restore of OTG_INTERFSEL over suspend. Since the resume function is also called e

[PATCH V3] usb: musb: Fix unstable init of OTG_INTERFSEL.

2013-12-17 Thread anaumann
From: Andreas Naumann This is a hard to reproduce problem which leads to non-functional USB-OTG port in 0.1%-1% of all boots. Tracked it down to commit e25bec160158abe86c276d7d206264afc3646281, which introduces save/restore of OTG_INTERFSEL over suspend. Since the resume function is also called e