]> git.baikalelectronics.ru Git - kernel.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)
commit49e8dbd619d7419c583b64b4da2f74ee6a3165af
treeb236b15bd324f0d589a8ee1c09ae0263e3363adc
parentaf5d1341dc47bcc0df65578c745aa0404ce3f62c
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