[PATCH v10 8/8] usb: chipidea: imx: fix the error that using uninitialized pointer

From
Peter Chen <hidden>
Date
2013-02-28 03:34:13
On Wed, Feb 27, 2013 at 10:07:15PM +0200, Alexander Shishkin wrote:
   On Feb 27, 2013 8:34 AM, "Peter Chen" [off-list ref] wrote:
   >
   > If the core's probe fails, the platform layer may not get core's

   I think the question we should be asking ourselves here is, why does it
   fail?
I find this problem just make core probe fails as set dr_mode = "peripheral"
with host-only controller, we should consider such user mistake.

I can move vbus handling to core code as it is core thing to avoid this bug.
But what's your suggestion of platform layer handling when core's probe
fails?

http://marc.info/?l=linux-usb&m=136202110302555&w=2

-- 

Best Regards,
Peter Chen
Thread (1 message) 1 message, 1 author, last reply 2013-02-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help