From: Ido Yariv Date: Thu, 30 Sep 2010 11:28:26 +0000 (+0200) Subject: wl1271: Handle large SPI transfers X-Git-Tag: v2.6.37-rc1~147^2~191^2^2~34^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c57a901dc96fc81d0041282269b43542f170d2a;p=pandora-kernel.git wl1271: Handle large SPI transfers The HW supports up to 4095 bytes transfers via SPI. The SPI read & write operations do not handle larger transfers, causing the HW to stall in such cases. Fix this by fragmenting large transfers into smaller chunks, and transferring each one separately. Signed-off-by: Ido Yariv Tested-by: Juuso Oikarinen Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed