orion_spi: fix handling of default transfer speed
authorLennert Buytenhek <buytenh@wantstofly.org>
Fri, 3 Oct 2008 22:23:39 +0000 (15:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 4 Oct 2008 01:22:18 +0000 (18:22 -0700)
commitf2fe1638f624467ae583b1a41a01804405f29eee
treef954cca6022b6d1665fc5f52b2a8ca6476560543
parentaef7db4bd5a3b6068dfa05919a3d685199eed116
orion_spi: fix handling of default transfer speed

Accept zero (the default!) as a per-transfer clock speed override.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.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/orion_spi.c