]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: atomisp: Remove double atomisp_mrfld_power_down()/_up() calls from atomisp_reset()
authorHans de Goede <hdegoede@redhat.com>
Fri, 11 Nov 2022 17:48:14 +0000 (17:48 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 25 Nov 2022 08:21:46 +0000 (08:21 +0000)
commit24aba5825c66ca717d552e90113e81a36218d24d
tree84d420628e22e94ee888d7a51d2a46695daf863e
parentf5cb5adaa8ec2dd5cf99ead2af57e076e1a495b0
media: atomisp: Remove double atomisp_mrfld_power_down()/_up() calls from atomisp_reset()

atomisp_reset() calls atomisp_mrfld_power_down() after calling
atomisp_runtime_suspend(), which already calls
atomisp_mrfld_power_down() itself.

And the some goes for atomisp_runtime_resume() / atomisp_mrfld_power_up().

Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_cmd.c
drivers/staging/media/atomisp/pci/atomisp_cmd.h
drivers/staging/media/atomisp/pci/atomisp_v4l2.c