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

static int pmic_light_resume ( struct platform_device *  pdev  )  [static]

This is the resume of power management for the pmic light API. It suports RESTORE state.

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

Definition at line 135 of file pmic_light.c.

References suspend_flag, suspendq, and swait.

{
      suspend_flag = 0;
      while (swait > 0) {
            swait--;
            wake_up_interruptible(&suspendq);
      }

      return 0;
};


Generated by  Doxygen 1.6.0   Back to index