Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

PMIC_STATUS pmic_bklit_disable_edge_slow ( void   ) 

This function disables backlight analog edge slowing mode. The backlight drivers will default to an <93>Instant On<94> mode.

Returns:
This function returns PMIC_SUCCESS if successful.

Definition at line 756 of file pmic_light.c.

References pmic_write_reg(), and suspend_flag.

Referenced by pmic_light_ioctl().

{
      unsigned int mask;

      if (suspend_flag == 1) {
            return -EBUSY;
      }
      mask = BITFMASK(BIT_SLEWLIMBL);
      CHECK_ERROR(pmic_write_reg(LREG_2, 0, mask));

      return PMIC_SUCCESS;
}


Generated by  Doxygen 1.6.0   Back to index