diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2022-03-07 09:16:37 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-05-13 11:02:17 +0200 |
commit | 395829c61a196a0821a703a49c4db3ac51daff73 (patch) | |
tree | 68f1e3b517147b2c9e2ad295f0a25e7b1cf403d5 /lib/seq_buf.c | |
parent | 94e3dba710fe0afc772172305444250023fc2d30 (diff) | |
download | linux-395829c61a196a0821a703a49c4db3ac51daff73.tar.bz2 |
media: atmel: atmel-isc: Fix PM disable depth imbalance in atmel_isc_probe
The pm_runtime_enable will decrease power disable depth.
If the probe fails, we should use pm_runtime_disable() to balance
pm_runtime_enable().
Fixes: 0a0e265515db ("media: atmel: atmel-isc: split driver into driver base and isc")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'lib/seq_buf.c')
0 files changed, 0 insertions, 0 deletions