Re: Runtime PM for PCI-based USB host controllers

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

 



On Wed, May 26, 2010 at 12:56:33PM -0400, Alan Stern wrote:

> I don't know how that works.  However an easy approach would be to make
> opening the device file (or however the userspace driver gets a
> reference to the device) cause the core to do a pm_runtime_get_sync(),
> with a corresponding pm_runtime_put_sync() when the file is closed.

No, X is far worse than you think. It's handled by mmap()ping /dev/mem.

-- 
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux