commit | 5827e4b14ee7882acc6d618c12ddf4966bbd780f | [log] [tgz] |
---|---|---|
author | Xia Jiang <xia.jiang@mediatek.com> | Fri Aug 14 09:11:38 2020 +0200 |
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Fri Aug 28 15:19:31 2020 +0200 |
tree | a53a5f057dc2e7ce53d4a1b93616b6980c07defe | |
parent | cc5fd1668f5fdddce4f367ec10514674a01fe09c [diff] |
media: platform: Improve power on and power off flow Call pm_runtime_get_sync() before starting a frame and then pm_runtime_put() after completing it. This can save power for the time between processing two frames. Reviewed-by: Tomasz Figa <tfiga@chromium.org> Signed-off-by: Xia Jiang <xia.jiang@mediatek.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>