RE: Regarding hub port debounce

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

 



On Wed, 8 Jul 2009, Yang Fei-AFY095 wrote:

> Your patch does fix the issue. But if udev->do_remote_wakeup had been
> set, we would not have this issue, right?

Right.

> What's the purpose of do_remote_wakeup?

It indicates that when the device was suspended, remote wakeup was 
enabled.

> Would it be better just set this
> variable somewhere? I'm afraid completely replacing the if - else
> statement would cause some other issue, just guessing, please advise.

I don't think replacing the "if" statement will cause other problems.  
The worst that will happen is very rarely a suspended device will be
resumed unnecessarily.  That won't matter, because the kernel will 
re-suspend the device afterward.

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