mmc_spi: Fix mmc-over-spi regression
authorDavid Brownell <david-b@pacbell.net>
Sat, 27 Oct 2007 12:47:20 +0000 (14:47 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Sat, 27 Oct 2007 12:47:20 +0000 (14:47 +0200)
commit460cd0589df8aa9b89599905b13c2010db627012
tree0d0cbf523d6513f43fca8a0bfb24070271b9215c
parent1fa8dd146f6bf57902602522c212040f8fa6fcd3
mmc_spi: Fix mmc-over-spi regression

Patch 49dce689ad4ef0fd1f970ef762168e4bd46f69a3 changed the sysfs data
structures for SPI in a way which broke the MMC-over-SPI host driver.

This patch fixes that regression by changing the scheme used to keep
from knowingly trying to use a shared bus segment, and updates the
adjacent comments slightly to better explain the issue.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/mmc_spi.c