Skip to content

Commit 0d6db85

Browse files
committed
Revert "media: atomisp: keep the ISP powered on when setting it"
changeset d0213061a501 ("media: atomisp: fix mask and shift operation on ISPSSPM0") solved the existing issue with the IUNIT power on code. So, the driver can now use the right code again. This reverts commit 95d1f39. Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 23988c9 commit 0d6db85

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

drivers/staging/media/atomisp/pci/atomisp_v4l2.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -766,17 +766,13 @@ static int atomisp_mrfld_power(struct atomisp_device *isp, bool enable)
766766
/* Workaround for pmu_nc_set_power_state not ready in MRFLD */
767767
int atomisp_mrfld_power_down(struct atomisp_device *isp)
768768
{
769-
return 0;
770-
// FIXME: at least with ISP2401, the code below causes the driver to break
771-
// return atomisp_mrfld_power(isp, false);
769+
return atomisp_mrfld_power(isp, false);
772770
}
773771

774772
/* Workaround for pmu_nc_set_power_state not ready in MRFLD */
775773
int atomisp_mrfld_power_up(struct atomisp_device *isp)
776774
{
777-
return 0;
778-
// FIXME: at least with ISP2401, the code below causes the driver to break
779-
// return atomisp_mrfld_power(isp, true);
775+
return atomisp_mrfld_power(isp, true);
780776
}
781777

782778
int atomisp_runtime_suspend(struct device *dev)

0 commit comments

Comments
 (0)