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>

authored by Lennert Buytenhek and committed by Linus Torvalds f2fe1638 aef7db4b

+1 -1
+1 -1
drivers/spi/orion_spi.c
··· 427 427 goto msg_rejected; 428 428 } 429 429 430 - if (t->speed_hz < orion_spi->min_speed) { 430 + if (t->speed_hz && t->speed_hz < orion_spi->min_speed) { 431 431 dev_err(&spi->dev, 432 432 "message rejected : " 433 433 "device min speed (%d Hz) exceeds "