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]

 



于 2012/7/24 22:59, Alan Stern 写道:
Yes, good idea.

When you do this, you should also add another little paragraph to
Documentation/usb/persist.txt.  At the end of the "What is the
solution?" section, explain why the persist attribute cannot be set if
the avoid_reset_quirk attribute is on.

Hmmm, what about hubs?  They don't have a persist attribute because
persist is_always_  supposed to be enabled for a hub.  Maybe this means
they shouldn't have an avoid_reset_quirk attribute either.
Another proposal is to add USB_CLASS_HUB check in the avoid_reset_quirk
attribute callback. If it was hub, return directly.
--
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