commit | 4024d6f601e3c49bae9297930970f68d2621ea1d | [log] [tgz] |
---|---|---|
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | Sat May 23 13:49:17 2020 +0200 |
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Tue Jun 23 13:21:04 2020 +0200 |
tree | 8815d677c96856cc635281118d763937eac6bd0c | |
parent | 4f9b5709cc087337bf02f004f0a238ec7ebda25b [diff] |
media: vpif: Fix runtime PM imbalance in vpif_probe When platform_get_resource() returns an error code, a pairing runtime PM usage counter decrement is needed to keep the counter balanced. Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Reviewed-by: Lad Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>