media: atomisp: keep the ISP powered on when setting it
The current code causes ISP2401 to power down and never return back to live, causing the driver to crash. Fix it by commenting out the bad code. It should be noticed that the Yocto Aero code has something similar to it. Maybe the issue is related to an ISP bug (or maybe PM is controlled on a different way for this hardware). Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
39c91e18c1
commit
95d1f398c4
@ -824,13 +824,17 @@ static int atomisp_mrfld_power(struct atomisp_device *isp, bool enable)
|
||||
/* Workaround for pmu_nc_set_power_state not ready in MRFLD */
|
||||
int atomisp_mrfld_power_down(struct atomisp_device *isp)
|
||||
{
|
||||
return atomisp_mrfld_power(isp, false);
|
||||
return 0;
|
||||
// FIXME: at least with ISP2401, the code below causes the driver to break
|
||||
// return atomisp_mrfld_power(isp, false);
|
||||
}
|
||||
|
||||
/* Workaround for pmu_nc_set_power_state not ready in MRFLD */
|
||||
int atomisp_mrfld_power_up(struct atomisp_device *isp)
|
||||
{
|
||||
return atomisp_mrfld_power(isp, true);
|
||||
return 0;
|
||||
// FIXME: at least with ISP2401, the code below causes the driver to break
|
||||
// return atomisp_mrfld_power(isp, true);
|
||||
}
|
||||
|
||||
int atomisp_runtime_suspend(struct device *dev)
|
||||
|
Loading…
Reference in New Issue
Block a user