Re: autosuspend for storage (was:Re: USB conversion to the runtime PM framework)

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

 



Am Mittwoch, 21. Oktober 2009 18:17:24 schrieb Matthew Dharm:
> We're trying to get a low-level driver to determine if the upper-levels are
> done with a physical device so we can autosuspend.  No matter what we come
> up with, we're never going to get it right; consider what would happen if a
> userspace application was messing with a /dev/sgX node arbitrarily.
>
> What we need to do is turn this around.  The upper layers need to signal
> the lower layers when it is safe to autosuspend.

In this case you need to port Rafael's runtime power framework to SCSI.
That would certainly be the cleanest solution.

	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