summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorFan Du <fan.du@intel.com>2014-09-16 17:21:04 +0800
committerJiri Slaby <jslaby@suse.cz>2014-10-13 14:25:31 +0200
commit19c365577e5de2b3f671ad2efbe7556e1f5dcc38 (patch)
tree2107c8f00b1bf713727f4c7035ce2c84b907f0d5 /kernel
parentaf8d4c48a1e245b8110e329a4cbd14280aa5bc30 (diff)
downloadlwn-19c365577e5de2b3f671ad2efbe7556e1f5dcc38.tar.gz
lwn-19c365577e5de2b3f671ad2efbe7556e1f5dcc38.zip
i2c: ismt: use correct length when copy buffer
commit 979bbf7b7ae75cfc06e09d09eda38009a3bdc4a4 upstream. In block write mode, when encapsulating dma_buffer, first element is 'command', the rest is data buffer, so only copy actual data buffer starting from block[1] with the size indicating by block[0]. Signed-off-by: Fan Du <fan.du@intel.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions