From: Brian Niebuhr Date: Thu, 2 Sep 2010 11:22:06 +0000 (+0530) Subject: spi: davinci: add support for interrupt mode X-Git-Tag: v2.6.38-rc1~454^2~6^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0d205e9914476e96596c5339fa440fb314ef03b;p=pandora-kernel.git spi: davinci: add support for interrupt mode Add support for SPI interrupt mode operation. Define a per chip-select "io type" variable which specifies if the transfers on this chip-select should happen in interrupt mode or polled mode. Introduce a new function davinci_spi_process_events() to help consolidate the code between interrupt mode processing and polled mode processing. Signed-off-by: Brian Niebuhr Tested-By: Michael Williamson Signed-off-by: Sekhar Nori --- Reading git-diff-tree failed