spi-topcliff-pch: Fix issue for transmitting over 4KByte
authorTomoya MORINAGA <tomoya.rohm@gmail.com>
Fri, 9 Dec 2011 04:13:27 +0000 (13:13 +0900)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 20 May 2012 21:56:44 +0000 (22:56 +0100)
commit958bb6de7a6ba061024629488418dc23d160fde9
tree66cd8872b6983a886c3c2472bac226973aed6000
parent046f0433b57a5a9ef7890818646d2af1cc8b7418
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: Ben Hutchings <ben@decadent.org.uk>
drivers/spi/spi-topcliff-pch.c