dm: spi: Correct handling of SPI chip selects in sandbox
authorSimon Glass <sjg@chromium.org>
Tue, 11 Nov 2014 17:46:22 +0000 (10:46 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 22 Nov 2014 09:16:47 +0000 (10:16 +0100)
commitff56bba2d6952176a826bddcd9baf84f61b419a3
treeef05d1506ddb26b4d0f97d47525722fde585d30f
parente33dc221f45ca501319f5aebd1c88574238261be
dm: spi: Correct handling of SPI chip selects in sandbox

This code was not updated when the chip select handling was adjusted. Fix
it to call the correct function.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Acked-by: Heiko Schocher <hs@denx.de>
drivers/mtd/spi/sandbox.c
drivers/spi/spi-uclass.c
include/spi.h