浏览代码

mfd: tps65217: Support an interrupt pin as the system wakeup

TPS65217 INT pin is used for the system wakeup from suspend mode.
This patch enables push button or charger input event as a wakeup source.

Signed-off-by: Milo Kim <woogyom.kim@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Milo Kim 8 年之前
父节点
当前提交
93559191e7
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      drivers/mfd/tps65217.c

+ 2 - 0
drivers/mfd/tps65217.c

@@ -183,6 +183,8 @@ static int tps65217_irq_init(struct tps65217 *tps, int irq)
 		return ret;
 		return ret;
 	}
 	}
 
 
+	enable_irq_wake(irq);
+
 	return 0;
 	return 0;
 }
 }