kw_spi: backup and reset the MPP of the chosen CS pin
authorValentin Longchamp <valentin.longchamp@keymile.com>
Fri, 1 Jun 2012 01:31:01 +0000 (01:31 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:31 +0000 (14:07 +0200)
commitca880679dda63f8d58393526c7e3257f772ccabe
tree5821f61c7d1d0a157015c68e84bc9edf8dd19ecc
parent846836386fbd24362559fbdf9e2f89c6786887d5
kw_spi: backup and reset the MPP of the chosen CS pin

This was not done before, and in the case of a shared pin (for MPP0
between NF_IO[2] and CSn) this could lead to problems.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Holger Brunck <holger.brunck@keymile.com>
cc: Prafulla Wadaskar <prafulla@marvell.com>
drivers/spi/kirkwood_spi.c