Re: [PATCH] usb/core/hub.c: return immediately when hub_port_init hits timedout

From: Greg KH
Date: Fri Mar 07 2014 - 01:46:57 EST


On Fri, Mar 07, 2014 at 02:15:48PM +0800, xinhui.pan wrote:
> From: "xinhui.pan" <xinhuiX.pan@xxxxxxxxx>

I doubt your name as a "." in it, right?

> some devices go crasy, we can't resume it even after reset.

I don't understand, what do you mean by this? What exactly does a
device do, and why does it do it? And what happens?

> This case will cause timeout again and again. What is worse, if there
> is a watchdog, panic will be generated as timer expires.

A watchdog where?

> To prevent this, we just return -ENODEV immediately. Later it will be
> re-enumerated.

What will cause it to be re-enumerated?

confused,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/