Re: [RFC PATCH] usb: Change persist_enabled when attribute avoid_reset_quirk is changed

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

 



On Tuesday 24 July 2012 21:48:37 Lan Tianyu wrote:
> 于 2012/7/24 21:35, Oliver Neukum 写道:
> > On Tuesday 24 July 2012 21:28:30 Lan Tianyu wrote:
> >> Current only in the usb_detect_quirks(),  persist_enabled will
> >> be set to 0 depending on whether the dev's flag USB_QUIRK_RESET_MORPHS
> >> is set or not. And usb_detect_quirks() is only called in the
> >> hub_port_connect_change() when a new device is found.
> >>
> >> So after a device being enumerated, Changing attribute avod_reset_quirk
> >> will not set persist_enabled to 0 to prevent reset-resume.
> >
> > Hi,
> >
> > your description is correct, however the initial changelog suggested the oposite change.
> >
> 
> Ok. I will improve the changelog later. So you agree my patch?

Yes, the patch is good.

	Regards
		Oliver

--
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