Просмотр исходного кода

mfd: ab8500-core wake up from suspend

This patch makes the system wake up from suspend when an
ab8500 interrupt occur. This can for example be USB cable
insert or an RTC alarm.

Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Mattias Wallin 15 лет назад
Родитель
Сommit
4f079985b2
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      drivers/mfd/ab8500-core.c

+ 2 - 1
drivers/mfd/ab8500-core.c

@@ -519,7 +519,8 @@ int __devinit ab8500_init(struct ab8500 *ab8500)
 			return ret;
 			return ret;
 
 
 		ret = request_threaded_irq(ab8500->irq, NULL, ab8500_irq,
 		ret = request_threaded_irq(ab8500->irq, NULL, ab8500_irq,
-					   IRQF_ONESHOT, "ab8500", ab8500);
+					   IRQF_ONESHOT | IRQF_NO_SUSPEND,
+					   "ab8500", ab8500);
 		if (ret)
 		if (ret)
 			goto out_removeirq;
 			goto out_removeirq;
 	}
 	}