Re: [PATCH] usb:hub set hub->change_bits when over-current happens

2014-01-06 Thread
On Tue, Jan 7, 2014 at 10:40 AM, Greg KH wrote: > On Tue, Jan 07, 2014 at 10:33:14AM +0800, 沈光 wrote: >> set hub->change_bits when we plug in a device which causes >> over-current condition, so that hub_events() will check it. > > Why? > > What does this solve

[PATCH] usb:hub set hub->change_bits when over-current happens

2014-01-06 Thread
set hub->change_bits when we plug in a device which causes over-current condition, so that hub_events() will check it. Signed-off-by: Shen Guang --- drivers/usb/core/hub.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c ind