commit | 5c7b5d59fe7d856e5cb20c7ff6e5dc3cc73fa892 | [log] [tgz] |
---|---|---|
author | Amy Maloche <amaloche@codeaurora.org> | Mon Apr 29 10:40:41 2013 -0700 |
committer | Amy Maloche <amaloche@codeaurora.org> | Tue Apr 30 12:45:07 2013 -0700 |
tree | f8f82053a8a450979961f3fa08383ead8e08d04d | |
parent | 1b50438e83c014ec5e4bf1d4a1920c61c37bc801 [diff] |
input: synaptics_i2c_rmi4: allocate memory for interrupt status In synaptics_rmi4_i2c_read, intr_status is a char variant. So if num_of_intr_regs > 1, then intr_status will write 2 bytes. This will destroy the stack, so avoid it. Change-Id: I5c16e491a84d3f8dd96a11810c060944a457b99a Signed-off-by: Amy Maloche <amaloche@codeaurora.org>