spi: spi_bfin: update handling of delay-after-deselect
authorBryan Wu <bryan.wu@analog.com>
Wed, 5 Dec 2007 07:45:20 +0000 (23:45 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 5 Dec 2007 17:21:20 +0000 (09:21 -0800)
commit62310e51ac10c5e50998240e49a84d2e28377a48
treebdb678ea08edb8bbe83ac77bd4432e1d1721e44e
parentc3061abb9e95920407288cba143dc1af0babf099
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>
drivers/spi/spi_bfin5xx.c
include/asm-blackfin/bfin5xx_spi.h