mdm6600: Enable the wakeup irq on suspend
authorBenoit Goby <benoit@android.com>
Tue, 21 Sep 2010 00:40:34 +0000 (17:40 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:51:54 +0000 (16:51 -0700)
commit07b8b9031605fe2f59ca99df113979f21716130b
tree354c7129c76a6ef07c1f384cd3081318bd3c8285
parent9e38f7aced9e66edaf074cb7385ac459e1e13e34
mdm6600: Enable the wakeup irq on suspend

Other ports may need the wakeup irq even if the modem main port is not
opened. Enable the wakeup irq when the first opened port is suspended,
instead of enabling it when the main port is opened.

Change-Id: I15f32bb885673765cf5c7a574896e1c427d24977
Signed-off-by: Benoit Goby <benoit@android.com>
drivers/usb/serial/mdm6600.c