spi-topcliff-pch: Fix issue for transmitting over 4KByte
commit000d91aa2297c6d9da219918afa42c729db376dd
authorTomoya MORINAGA <tomoya.rohm@gmail.com>
Fri, 9 Dec 2011 04:13:27 +0000 (9 13:13 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 May 2012 17:46:23 +0000 (21 10:46 -0700)
tree2d8395c401586e0464baacc828100ef820dd1086
parent801f7b75b87c9488ebcf0af5f23913cf28096614
spi-topcliff-pch: Fix issue for transmitting over 4KByte

commit 7d05b3e868ee0f9231baf40cb77be3df5dd1f18c upstream.

Currently, when spi-topcliff-pch receives transmit request over 4KByte,
this driver can't process correctly. This driver needs to divide the data
into 4Kbyte unit.
This patch fixes the issue.

Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spi/spi-topcliff-pch.c