diff options
author | Bryan Wu <bryan.wu@analog.com> | 2007-12-05 02:45:20 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-12-05 12:21:20 -0500 |
commit | 62310e51ac10c5e50998240e49a84d2e28377a48 (patch) | |
tree | bdb678ea08edb8bbe83ac77bd4432e1d1721e44e /include/asm-blackfin | |
parent | c3061abb9e95920407288cba143dc1af0babf099 (diff) |
spi: spi_bfin: update handling of delay-after-deselect
Move cs_chg_udelay handling (specific to this driver) to cs_deactive(), fixing
a bug when some SPI LCD driver needs delay after cs_deactive.
Fix bug reported by Cameron Barfield <cbarfield@cyberdata.net>
https://blackfin.uclinux.org/gf/project/uclinux-dist/forum/?action=ForumBrowse&forum_id=39&_forum_action=ForumMessageBrowse&thread_id=23630&feedback=Message%20replied.
Cc: Cameron Barfield <cbarfield@cyberdata.net>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-blackfin')
-rw-r--r-- | include/asm-blackfin/bfin5xx_spi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-blackfin/bfin5xx_spi.h b/include/asm-blackfin/bfin5xx_spi.h index f617d8765451..d4485b37d8e2 100644 --- a/include/asm-blackfin/bfin5xx_spi.h +++ b/include/asm-blackfin/bfin5xx_spi.h | |||
@@ -162,7 +162,7 @@ struct bfin5xx_spi_chip { | |||
162 | u8 enable_dma; | 162 | u8 enable_dma; |
163 | u8 bits_per_word; | 163 | u8 bits_per_word; |
164 | u8 cs_change_per_word; | 164 | u8 cs_change_per_word; |
165 | u8 cs_chg_udelay; | 165 | u16 cs_chg_udelay; /* Some devices require 16-bit delays */ |
166 | }; | 166 | }; |
167 | 167 | ||
168 | #endif /* _SPI_CHANNEL_H_ */ | 168 | #endif /* _SPI_CHANNEL_H_ */ |