mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 09:09:55 -04:00
Merge tag 'mmc-v3.19-2' of git://git.linaro.org/people/ulf.hansson/mmc
Pull one MMC fix from Ulf Hansson: "MMC core: - Fix selection of buswidth for mmc hosts supporting 1-bit only" * tag 'mmc-v3.19-2' of git://git.linaro.org/people/ulf.hansson/mmc: mmc: core: stop trying to switch width when only one bit is supported
This commit is contained in:
@@ -886,7 +886,7 @@ static int mmc_select_bus_width(struct mmc_card *card)
|
||||
unsigned idx, bus_width = 0;
|
||||
int err = 0;
|
||||
|
||||
if (!mmc_can_ext_csd(card) &&
|
||||
if (!mmc_can_ext_csd(card) ||
|
||||
!(host->caps & (MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA)))
|
||||
return 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user