linux-hardened/drivers/dma/sh
Sergei Shtylyov bf44a4175e dmaengine: shdmac: extend PM methods
In order to make it possible to restore from hibernation not only in Linux but
also in e.g. U-Boot, we have to use sh_dmae_{suspend|resume}() for the {freeze|
thaw|restore}() PM methods. It's handy to achieve this with SIMPLE_DEV_PM_OPS()
macro; since  that macro doesn't do anything when CONFIG_PM_SLEEP  is undefined,
we don't need to #define sh_dmae_{suspend|resume} NULL anymore but we'll have to
enclose sh_dmae_{suspend|resume}() into the new #ifdef...

Based on original patch by Mikhail Ulyanov <mikhail.ulyanov@cogentembedded.com>.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2015-02-12 12:52:18 +05:30
..
Kconfig dmaengine: rcar-dmac: Add Renesas R-Car Gen2 DMA Controller (DMAC) driver 2014-12-23 11:13:01 +02:00
Makefile dmaengine: rcar-dmac: Add Renesas R-Car Gen2 DMA Controller (DMAC) driver 2014-12-23 11:13:01 +02:00
rcar-audmapp.c dmaengine: Remove .owner field for driver 2014-11-06 11:54:18 +05:30
rcar-dmac.c dmaengine: rcar-dmac: Handle hardware descriptor allocation failure 2014-12-23 11:13:03 +02:00
rcar-hpbdma.c dmaengine: rcar-hpbdma: tidyup residue_granularity 2015-01-25 22:37:05 -08:00
shdma-arm.h dmaengine: shdma: Use defines instead of hardcoded numbers 2014-07-15 18:02:29 +09:00
shdma-base.c dmaengine: sh: Split device_control 2014-12-22 12:32:16 +05:30
shdma-of.c dmaengine: Remove .owner field for driver 2014-11-06 11:54:18 +05:30
shdma-r8a73a4.c DMA: shdma: add r8a73a4 DMAC data to the device ID table 2013-08-27 14:26:21 +05:30
shdma.h dmaengine: sh: Rework Kconfig and Makefile 2014-07-31 17:15:45 +05:30
shdmac.c dmaengine: shdmac: extend PM methods 2015-02-12 12:52:18 +05:30
sudmac.c dmaengine: Remove .owner field for driver 2014-11-06 11:54:18 +05:30