From: Brian Niebuhr Date: Thu, 19 Aug 2010 09:37:38 +0000 (+0530) Subject: spi: davinci: add support for wait enable timeouts X-Git-Tag: v2.6.38-rc1~454^2~6^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7abbf23c5903e14b0cff1cdeab906eab164be767;p=pandora-kernel.git spi: davinci: add support for wait enable timeouts Just enabling WAITENA in SPIFMTn register waits for the enable signal from the slave indefinitely. Allow support for finite waiting by adding support for c2e delay (maximum time for addressed slave to respond) and t2e delay (maximum time for slave to respond after transmit data finished). While at it, modify the T2C and C2T defines by prepending the register name as is the convention followed for other register field elsewhere in the driver. Signed-off-by: Brian Niebuhr Tested-By: Michael Williamson Signed-off-by: Sekhar Nori --- Reading git-diff-tree failed