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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to