spi: mxs_spi: Configure chipselect after block reset
authorMarek Vasut <marex@denx.de>
Mon, 26 Aug 2013 15:45:23 +0000 (17:45 +0200)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Tue, 27 Aug 2013 14:09:39 +0000 (19:39 +0530)
commita928a36ff91ba585310491f2d8c08ec2d30bc2b0
treec8e46d7db9d68165341974287f50cab039394fca
parent2b26201a2aef0b310b7c04702b0dba5dea493f77
spi: mxs_spi: Configure chipselect after block reset

The chipselect must be written into the CTRL0 register after the SSP
block is reset, otherwise the block will always use ChipSelect #0.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Stefano Babic <sbabic@denx.de>
Acked-by: Stefano Babic <sbabic@denx.de>
drivers/spi/mxs_spi.c