]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: Remove redundant check of max_dtr while selecting timings
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 20 Oct 2014 09:49:21 +0000 (11:49 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Nov 2014 11:40:41 +0000 (12:40 +0100)
commit3769567f10856406342c0d287d193c0790790a8d
tree41a222ca7129ca251bf2b8bbae82c925b4351a10
parent2f08435ca1b478b3adcda97b1c8ec40ae080d927
mmc: core: Remove redundant check of max_dtr while selecting timings

If the MMC spec version is < CSD_SPEC_VER_4, there aren't support for
the EXT_CSD register. Since max_dtr is fetched from there, it will
default to zero, which thus isn't needed to verify.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc.c