diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2010-07-26 05:04:24 -0400 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2010-08-03 09:50:31 -0400 |
commit | 51cd525dce018f298568d8e2e769b1a698ef91cd (patch) | |
tree | ac07e343da1fb1f5c9ae4de15b5d6b751088300d /drivers/platform | |
parent | 9dd3adeb00b14d4b3d106360e2e33272deab35f3 (diff) |
Fix stack buffer size for IPC writev messages
The stack buffer for IPC messages was 16 bytes, limiting messages to a
size of 4 (each message is 32 bit).
However, the touch screen driver is trying to send messages of size 5....
(AC: Set to 20 bytes having checked the max size allowed)
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/intel_scu_ipc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/x86/intel_scu_ipc.c b/drivers/platform/x86/intel_scu_ipc.c index 5258749138d6..1b0d0d54cb0f 100644 --- a/drivers/platform/x86/intel_scu_ipc.c +++ b/drivers/platform/x86/intel_scu_ipc.c | |||
@@ -58,8 +58,8 @@ | |||
58 | 58 | ||
59 | #define IPC_BASE_ADDR 0xFF11C000 /* IPC1 base register address */ | 59 | #define IPC_BASE_ADDR 0xFF11C000 /* IPC1 base register address */ |
60 | #define IPC_MAX_ADDR 0x100 /* Maximum IPC regisers */ | 60 | #define IPC_MAX_ADDR 0x100 /* Maximum IPC regisers */ |
61 | #define IPC_WWBUF_SIZE 16 /* IPC Write buffer Size */ | 61 | #define IPC_WWBUF_SIZE 20 /* IPC Write buffer Size */ |
62 | #define IPC_RWBUF_SIZE 16 /* IPC Read buffer Size */ | 62 | #define IPC_RWBUF_SIZE 20 /* IPC Read buffer Size */ |
63 | #define IPC_I2C_BASE 0xFF12B000 /* I2C control register base address */ | 63 | #define IPC_I2C_BASE 0xFF12B000 /* I2C control register base address */ |
64 | #define IPC_I2C_MAX_ADDR 0x10 /* Maximum I2C regisers */ | 64 | #define IPC_I2C_MAX_ADDR 0x10 /* Maximum I2C regisers */ |
65 | 65 | ||