From: David Brownell Date: Wed, 28 Jun 2006 14:47:15 +0000 (-0700) Subject: [PATCH] SPI: infrastructure to initialize spi_device.mode early X-Git-Tag: v2.6.18-rc1~415 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=980a01c9bfb090cb8a991e39e56ac379c30c61b8;p=pandora-kernel.git [PATCH] SPI: infrastructure to initialize spi_device.mode early This patch adds earlier initialization of spi_device.mode, as needed on boards using nondefault chipselect polarity. An example would be ones using the RS5C348 RTC without an external signal inverter between the RTC chipselect and the SPI controller. Without this mechanism, the first setup() call for that chip would wrongly enable chips, corrupting transfers to/from other chips sharing that SPI bus. Signed-off-by: David Brownell Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed