media: atomisp: Remove atomisp_ospm_dphy_down() call from probe error path
authorHans de Goede <hdegoede@redhat.com>
Mon, 14 Nov 2022 16:00:51 +0000 (16:00 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 25 Nov 2022 08:24:31 +0000 (08:24 +0000)
commit1ad2c1354bfa097e974d2edaa7491b6f2d43f481
treefdd3f0362542ca986d4edce5338b22f645d40de8
parent5317baa0a39ec480d6b225cca639b2fb19583515
media: atomisp: Remove atomisp_ospm_dphy_down() call from probe error path

The only thing which atomisp_ospm_dphy_down() does is disable the CSI
pins, but if we failed to probe the ISP then these will never have
been enabled (because the ISP never started streaming).

So the atomisp_ospm_dphy_down() call in the probe error path is
unnecessary, remove it.

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_v4l2.c