Re: [PATCH]usblp:Remove checks no longer needed with the new runtime PM system

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

 



Am Montag, 28. Dezember 2009 01:07:21 schrieb Pete Zaitcev:
> If you say so, I don't object. But honestly, I don't understand well how
> the PM subsystem works. I don't know if I can ack this. At any rate
> let's apply and see what happens

Under the old system a device could be suspended for three reasons:

1. system sleep
2. autosuspend
3. user request through sysfs

Under the new system reason #3 has been removed.
Therefore if suspend() is called, either user space is frozen or the
device is closed, as open() calls usb_autopm_get_interface()
which elevates the pm count, blocking autosuspend.

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