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)
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>

No differences found