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

static int pmic_light_suspend ( struct platform_device *  dev,
pm_message_t  state 
) [static]

This is the suspend of power management for the pmic light API. It suports SAVE and POWER_DOWN state.

Parameters:
pdev the device
state the state
Returns:
This function returns 0 if successful.

Definition at line 118 of file pmic_light.c.

References pmic_light_init_reg(), and suspend_flag.

{
      suspend_flag = 1;
      /* switch off all leds and backlights */
      CHECK_ERROR(pmic_light_init_reg());

      return 0;
};


Generated by  Doxygen 1.6.0   Back to index