]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00229630 vpu: need to manage pu regulator in suspend/resume
authorAnson Huang <b20788@freescale.com>
Mon, 15 Oct 2012 23:01:17 +0000 (19:01 -0400)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:34 +0000 (08:35 +0200)
commitc0cc139a9328aefe23615f6b3af233a100a1f97b
tree1d0a5f969498fc248aaf1b9d20e3b4dbacaebf22
parent419faff552ce6481ef5757a03741b36e2d9a69b2
ENGR00229630 vpu: need to manage pu regulator in suspend/resume

If VPU is working before suspend, we need to disable its regulator
to make sure regulator can be off before suspend, then enable
its regulator before resume to work, we check vpu's open_count
to determine whether to disable/enable its regulator.

Signed-off-by: Anson Huang <b20788@freescale.com>
drivers/mxc/vpu/mxc_vpu.c