]> asedeno.scripts.mit.edu Git - linux.git/commit
dmaengine: img-mdc: Add runtime PM
authorEd Blake <ed.blake@sondrel.com>
Mon, 9 Oct 2017 14:40:27 +0000 (15:40 +0100)
committerVinod Koul <vinod.koul@intel.com>
Mon, 16 Oct 2017 06:45:39 +0000 (12:15 +0530)
commit56d355e6f586539e5f87280376eed09fb8801f42
treeb236b15bd324f0d589a8ee1c09ae0263e3363adc
parentfd9f22ae15b97997c76cdadf2bed23053881509a
dmaengine: img-mdc: Add runtime PM

Add runtime PM support to disable the clock when the h/w is not in use.
The existing clock_prepare_enable is removed from probe() as the clock
is no longer permanently enabled.

Signed-off-by: Ed Blake <ed.blake@sondrel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/img-mdc-dma.c