input_report_key(pwr->input_dev, pwr->report_key, pwr_val);
input_sync(pwr->input_dev);
- msleep(20);
+ // msleep(20);
- input_report_key(pwr->input_dev, pwr->report_key, !pwr_val);
- input_sync(pwr->input_dev);
+ // input_report_key(pwr->input_dev, pwr->report_key, !pwr_val);
+ // input_sync(pwr->input_dev);
} else
push_release_flag = 0;
/* Last - for index max*/
#define TWL4030_MODULE_LAST TWL4030_MODULE_SECURED_REG
-#define TWL6030_MODULE_LAST TWL6030_MODULE_SLAVE_RES //xsf
+//#define TWL6030_MODULE_LAST TWL6030_MODULE_SLAVE_RES //xsf
#define TWL6030_MODULE_LAST TWL_MODULE_PM_DVS //add
#define TWL_NUM_SLAVES 4
#ifdef CONFIG_PM
static int twl_suspend(struct i2c_client *client, pm_message_t mesg)
-{
+{
return irq_set_irq_wake(client->irq, 1);
}
if (pdata && pdata->pre_init) {
ret = pdata->pre_init();
if (ret != 0) {
- printk(" tps80032 pre_init() failed: %d\n");
+ printk(" tps80032 pre_init() failed\n");
}
}
if (pdata && pdata->set_init) {
ret = pdata->set_init();
if (ret != 0) {
- printk(" tps80032 set_init() failed: %d\n");
+ printk(" tps80032 set_init() failed\n");
}
}