Messages in this thread | | | Date | Thu, 16 Jun 2005 17:06:22 +0100 | From | Russell King <> | Subject | Re: ISA DMA controller hangs |
| |
On Thu, Jun 16, 2005 at 05:53:47PM +0200, Pierre Ossman wrote: > So how do we solve this problem? We should do a master clear and then > enable channel 4 after a suspend. The question is where. I see three > possible places: > > * In the suspend code in kernel/power. > * In the driver actually handling the suspend (ACPI/APM/etc.). > * Via the device layer by adding a device for the DMA controller. > > Which would be the preferred solution?
Shouldn't there be a system device for the DMA controller? I think that should have appropriate hooks into the power management system to do the necessary magic to restore whatever's needed - just like we do for the PIC.
-- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 Serial core - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |