commit | 5c57a901dc96fc81d0041282269b43542f170d2a | [log] [tgz] |
---|---|---|
author | Ido Yariv <ido@wizery.com> | Thu Sep 30 13:28:26 2010 +0200 |
committer | Luciano Coelho <luciano.coelho@nokia.com> | Tue Oct 05 16:27:24 2010 +0300 |
tree | 7ee87d336cf3b85b6429cba098329ac784e96092 | |
parent | 65836112fc24bdf009554481b36b6ba0a690b855 [diff] |
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 <ido@wizery.com> Tested-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>