wl1271: Remove busy-word checking
Remove busy-word checking to work around an SPI bug. To reduce the chance of chipset-busy scenarios, increment the number of fixed busy words. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
11f70f9715
commit
c6d5d06e45
@@ -294,9 +294,9 @@ void wl1271_spi_raw_read(struct wl1271 *wl, int addr, void *buf,
|
||||
|
||||
spi_sync(wl->spi, &m);
|
||||
|
||||
/* Check busy words */
|
||||
if (!(busy_buf[WL1271_BUSY_WORD_CNT - 1] & 0x1))
|
||||
wl1271_spi_read_busy(wl, buf, len);
|
||||
/* FIXME: Check busy words, removed due to SPI bug */
|
||||
/* if (!(busy_buf[WL1271_BUSY_WORD_CNT - 1] & 0x1))
|
||||
wl1271_spi_read_busy(wl, buf, len); */
|
||||
|
||||
wl1271_dump(DEBUG_SPI, "spi_read cmd -> ", cmd, sizeof(*cmd));
|
||||
wl1271_dump(DEBUG_SPI, "spi_read buf <- ", buf, len);
|
||||
|
Reference in New Issue
Block a user