mmc: sdhci: Allow the probe handler to override slots
authorAlan Cox <alan@linux.intel.com>
Mon, 4 Oct 2010 14:24:21 +0000 (15:24 +0100)
committerChris Ball <cjb@laptop.org>
Sat, 23 Oct 2010 13:11:19 +0000 (21:11 +0800)
commit225d85fe7ddca2985548d98e410f7baf4a5d6260
treec1426fab1b226f061e0d721e3370636fa76c8d0b
parented2a9785942b0986ac858f3f48d7fc5f7c7183de
mmc: sdhci: Allow the probe handler to override slots

Currently we write it to the chip data, but if the probe handler overrides
it we ignore the new value and keep using our cached one. Fix this so that
a probe handler can adjust the slot count.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-pci.c