spi/mmc_spi: mmc_spi adaptations for SPI bus locking API
authorErnst Schwab <eschwab@online.de>
Thu, 18 Feb 2010 11:47:46 +0000 (12:47 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 4 Jul 2010 04:45:36 +0000 (22:45 -0600)
commit4751c1c74bc7b596db5de0c93be1a22a570145c0
tree4c625f4bc049cfe29e7ff33520bf714c51375a4d
parentcf32b71e981ca63e8f349d8585ca2a3583b556e0
spi/mmc_spi: mmc_spi adaptations for SPI bus locking API

Modification of the mmc_spi driver to use the SPI bus locking API.
With this, the mmc_spi driver can be used together with other SPI
devices on the same SPI bus. The exclusive access to the SPI bus is
now managed in the SPI layer. The counting of chip selects in the probe
function is no longer needed.

Signed-off-by: Ernst Schwab <eschwab@online.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Tested-by: Matt Fleming <matt@console-pimps.org>
Tested-by: Antonio Ospite <ospite@studenti.unina.it>
drivers/mmc/host/mmc_spi.c