diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2021-04-28 08:27:55 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-05-10 11:36:33 +0200 |
| commit | 892bb6ecead9b834ba7ad1d07513e9eba1baa3a4 (patch) | |
| tree | 83b4e17b02b1249e878c0a6fdb24f0eff8c6e1d1 /tools/perf/scripts/python | |
| parent | dd97908ee35096356fb4111bb77d5f94bcfe337d (diff) | |
media: hantro: do a PM resume earlier
The device_run() first enables the clock and then
tries to resume PM runtime, checking for errors.
Well, if for some reason the pm_runtime can not resume,
it would be better to detect it beforehand.
So, change the order inside device_run().
Reviewed-by: Ezequiel Garcia <[email protected]>
Fixes: 775fec69008d ("media: add Rockchip VPU JPEG encoder driver")
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions