media: v4l2_driver: Supplement the missing runtime pm get ops on more than once strea...
authorKevin.xie <kevin.xie@starfivetech.com>
Tue, 8 Nov 2022 08:37:45 +0000 (16:37 +0800)
committerChanghuang Liang <changhuang.liang@starfivetech.com>
Wed, 9 Nov 2022 01:25:26 +0000 (09:25 +0800)
commit135da7576122c38df4d803b713d94561a84a75d7
tree9cdad58ea5c5f1239da69be48cd43d2d67b2b512
parent37c389bcb7db4ccc38244ec9199daa6438bb38a5
media: v4l2_driver: Supplement the missing runtime pm get ops on more than once stream_on cases.

For example, if we run stf_isp_ctrl & v4l2test at the same time,
s_stream for sensor will be called twice,
so that rpm should be got twice too.

Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
drivers/media/platform/starfive/v4l2_driver/imx219_mipi.c