mmc: sdhci: Simplify tuning block size logic
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 2 Dec 2016 13:14:26 +0000 (15:14 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 5 Dec 2016 13:16:24 +0000 (14:16 +0100)
commit85336109c0b272d8d0b4509872e1247d948ddfa9
treebc9205cf9c1c5ecd4000326eb9fcbba6cfe3cbcb
parentda4bc4f2851e3c46076929a8c9a99ee3e076cf1f
mmc: sdhci: Simplify tuning block size logic

There are only 2 possible block sizes, so simplify 2 if-statements into 1.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c