]> git.karo-electronics.de Git - mv-sheeva.git/commit
mmc: fix mmc_set_bus_width_ddr() call without bus-width-test cap
authorTakashi Iwai <tiwai@suse.de>
Wed, 22 Dec 2010 08:59:44 +0000 (09:59 +0100)
committerChris Ball <cjb@laptop.org>
Sun, 9 Jan 2011 04:52:24 +0000 (23:52 -0500)
commit08c82dfad2458f8f9b83126224a85e7ea9e2b046
treee39527ff6ef3280cded022fbb1dff0f62296278e
parentf95f3850f7a9e1d49ebc5b6e72e7cc3ec3685b0b
mmc: fix mmc_set_bus_width_ddr() call without bus-width-test cap

With the bus-width test patch, mmc_set_bus_width*() isn't called properly
when the driver doesn't set MMC_CAP_BUS_WIDTH and no DDR mode.
This patch fixes the regression by moving the call up before the cap test.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/mmc.c