Re: [PATCH 3/3] usb: Change persist_enabled when attribute avoid_reset_quirk is modified

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

 



On Tue, 31 Jul 2012, Lan Tianyu wrote:

> How about checking RESET_MORPHS before doing reset_resume, set reset_resume
> to 0 and do resume when RESET_MORPHS is set.

No, that won't work.  When we do a reset-resume it is because we _know_ 
that a regular resume will fail.

>  At the same time, print "Convert
> reset_resume to resume due to RESET_MORPHS". Then these two attributes are
> separated but for reset-resume, there are two conditions. persist is true
> RESET_MORPHS is unset.

I think the best course is to leave things the way they are.  Just add
an explanation to persist.txt that the Persist mechanism is likely to
fail if the avoid_reset_quirk attribute is set.

Alan Stern

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