diff options
author | Govindraj.R <govindraj.raja@ti.com> | 2010-12-16 18:12:47 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-16 13:14:32 -0800 |
commit | 3f960dbb9dfe29ff283810624c4340c79fde87f5 (patch) | |
tree | c64865f846f4adf28bdebe0568ce7e571c12a372 /include/linux/serial_core.h | |
parent | 6ce5b1ce5f6922db32599e73bcb22f5cdcbf241f (diff) | |
download | kernel_goldelico_gta04-3f960dbb9dfe29ff283810624c4340c79fde87f5.zip kernel_goldelico_gta04-3f960dbb9dfe29ff283810624c4340c79fde87f5.tar.gz kernel_goldelico_gta04-3f960dbb9dfe29ff283810624c4340c79fde87f5.tar.bz2 |
Serial: Avoid unbalanced IRQ wake disable during resume
To avoid unbalanced IRQ wake disable, ensure that wakeups are disabled
only when wakeups have been successfully enabled.
Tested on OMAP3630SDP/ZOOM3.
Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
Reported-by: Paul Walmsley <paul@pwsan.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/serial_core.h')
-rw-r--r-- | include/linux/serial_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index 7a6daf1..a23fa29 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h @@ -365,6 +365,7 @@ struct uart_port { struct device *dev; /* parent device */ unsigned char hub6; /* this should be in the 8250 driver */ unsigned char suspended; + unsigned char irq_wake; unsigned char unused[2]; void *private_data; /* generic platform data pointer */ }; |