Re: During xHC Initialization (device is not connected), when HC-RESET is asserted, software is not expecting WRC or PRC bit set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 05, 2012 at 07:14:23PM +0530, Bhavik Kothari wrote:
> Hi Alan,
> 
> I am again sending you the patch,
> 
> --- a/linux-3.6.1/drivers/usb/core/hub.c	2012-10-07 21:11:28.000000000 +0530
> +++ b/linux-3.6.1/drivers/usb/core/hub.c	2012-10-31 11:37:26.760917272 +0530
> @@ -1078,6 +1078,12 @@ static void hub_activate(struct usb_hub
>  			clear_port_feature(hub->hdev, port1,
>  					USB_PORT_FEAT_C_BH_PORT_RESET);
>  		}
> +		if (portchange & USB_PORT_STAT_C_RESET) {
> +			need_debounce_delay = true;
> +			clear_port_feature(hub->hdev, port1,
> +					USB_PORT_FEAT_C_RESET);
> +		}
> +
>  		/* We can forget about a "removed" device when there's a
>  		 * physical disconnect or the connect status changes.
>  		 */
> 
> 
> Let me know, in case of any issue / concern.

Again, please read the file, Documentation/SubmittingPatches which shows
how to send patches to be able to be included.  Hint, you are forgetting
a changelog entry, a signed-off-by: line, and probably a few other
things that I'm forgetting at the moment...

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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux