]> 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)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:13:13 +0000 (14:13 +0200)
commit25192a1848c44eaa9a2e65bb41a7d16e59e37647
tree1d0a5f969498fc248aaf1b9d20e3b4dbacaebf22
parentea816646e0718ab608b3ef108d0a9f1b9634a3f1
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