On Fri, 7 Dec 2012, Lan Tianyu wrote:

> > Maybe you really need two flags.  Do whatever is best; I'm sure you can
> > figure out a good scheme.
> Yeah. Two flags maybe good. In this situation, it should be call
> "power_is_on", right? power_is_on can be used to avoid to sending
> redundant PORT_POWER request. The other flag is dedicated to prevent
> device from being disconnected. Something like hub->busy_bits. We can
> can "child_busy", I am not very good at giving a name. So I'd like to
> see your opinion. :)

How about "needs_debounce"?

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