Re: [PATCH] usb: hcd: allow wakeups while suspended for Moorestown

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

 



> down into ehci-hcd.  You could write a Moorestown-specific interrupt
> handler which would first check whether the controller was
> suspended. If it was, the handler could turn off the interrupt
> request and call pm_runtime_get(); otherwise it could call ehci_irq()
> directly and then see whether it needed to call pm_runtime_put() (or
> possibly pm_runtime_put_autosuspend()).

Or you could make the moorestown specific code request a threaded IRQ,
the rest of the kernel won't know. That would do the whole IRQ handling
properly in that case.

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