diff options
| author | Xia Jiang <xia.jiang@mediatek.com> | 2020-08-14 09:11:38 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-08-28 15:19:31 +0200 |
| commit | 5827e4b14ee7882acc6d618c12ddf4966bbd780f (patch) | |
| tree | a53a5f057dc2e7ce53d4a1b93616b6980c07defe /scripts | |
| parent | cc5fd1668f5fdddce4f367ec10514674a01fe09c (diff) | |
| download | linux-5827e4b14ee7882acc6d618c12ddf4966bbd780f.tar.gz linux-5827e4b14ee7882acc6d618c12ddf4966bbd780f.zip | |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
