From: Alexandre Belloni Date: Wed, 17 Dec 2014 18:32:06 +0000 (+0100) Subject: mmc: core: stop trying to switch width when only one bit is supported X-Git-Tag: fixes-v4.0-rc1~364^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c2d26e379fc8d37d55befd8589c4c252186ee58;p=pandora-kernel.git mmc: core: stop trying to switch width when only one bit is supported mmc_select_bus_width() will try to switch to MMC_BUS_WIDTH_4 even if MMC_CAP_4_BIT_DATA and MMC_CAP_8_BIT_DATA are not set in host->caps. Return as soon as possible when those flags are not set Fixes: 577fb13199b1 (mmc: rework selection of bus speed mode) Signed-off-by: Alexandre Belloni Cc: # 3.17 Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed