From: Major Lee Date: Fri, 10 Dec 2010 10:13:49 +0000 (+0000) Subject: dw_spi: Fix missing final read in some polling situations X-Git-Tag: v2.6.37-rc6~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d0b6087f3f2c88caef25e1455ff8db0816d4e11;p=pandora-kernel.git dw_spi: Fix missing final read in some polling situations There is a possibility that the last word of a transaction will be lost if data is not ready. Re-read in poll_transfer() to solve this issue when poll_mode is enabled. Verified on SPI touch screen device. Signed-off-by: Major Lee Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed