]> git.baikalelectronics.ru Git - kernel.git/commit
spi/imx: save the spi chip select in config struct, not the gpio to use
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 10 Sep 2010 07:42:29 +0000 (09:42 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Fri, 1 Oct 2010 07:32:13 +0000 (09:32 +0200)
commitb11031a1a86a9f6672532d903cac33816dca2a48
tree933462cf29056bd56b12e9747e6e117b28174c25
parentcc7dfc99d28924d917f44e24db4068975e7b294d
spi/imx: save the spi chip select in config struct, not the gpio to use

This prepares adding support for imx51's eCSPI.  This IP has seperate
control and config bits for all four supported chip selects, so the
config routine needs to know which chip select is being used even if
the chipselect is realized by a gpio.

Acked-by: Jason Wang <jason77.wang@gmail.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
drivers/spi/spi_imx.c