diff options
author | Govindraj.R <govindraj.raja@ti.com> | 2010-12-16 07:42:47 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-16 16:14:32 -0500 |
commit | 3f960dbb9dfe29ff283810624c4340c79fde87f5 (patch) | |
tree | c64865f846f4adf28bdebe0568ce7e571c12a372 /include | |
parent | 6ce5b1ce5f6922db32599e73bcb22f5cdcbf241f (diff) |
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')
-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 7a6daf18999..a23fa29d4eb 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h | |||
@@ -365,6 +365,7 @@ struct uart_port { | |||
365 | struct device *dev; /* parent device */ | 365 | struct device *dev; /* parent device */ |
366 | unsigned char hub6; /* this should be in the 8250 driver */ | 366 | unsigned char hub6; /* this should be in the 8250 driver */ |
367 | unsigned char suspended; | 367 | unsigned char suspended; |
368 | unsigned char irq_wake; | ||
368 | unsigned char unused[2]; | 369 | unsigned char unused[2]; |
369 | void *private_data; /* generic platform data pointer */ | 370 | void *private_data; /* generic platform data pointer */ |
370 | }; | 371 | }; |