atomisp: avoid warning about unused function
[linux-2.6-microblaze.git] / drivers / staging / media / atomisp / pci / atomisp_v4l2.c
index 694268d..98cff13 100644 (file)
@@ -824,17 +824,15 @@ 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 0;
-// FIXME: at least with ISP2401, the code below causes the driver to break
-//     return atomisp_mrfld_power(isp, false);
+// FIXME: at least with ISP2401, enabling this code causes the driver to break
+       return 0 && 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 0;
-// FIXME: at least with ISP2401, the code below causes the driver to break
-//     return atomisp_mrfld_power(isp, true);
+// FIXME: at least with ISP2401, enabling this code causes the driver to break
+       return 0 && atomisp_mrfld_power(isp, true);
 }
 
 int atomisp_runtime_suspend(struct device *dev)