mmc: meson-gx: factor out setting block size
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 27 Mar 2017 19:57:11 +0000 (21:57 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:41:56 +0000 (21:41 +0200)
commit3d03f6a99a8de552e094445dde341ca4b4d4326a
tree4cdfddcbd22081777c7b00cfa1e78f850790bfb4
parentedf985790659503eedd5736ba89ad7e9fd754cf0
mmc: meson-gx: factor out setting block size

Factor out setting the block size. This also contributes to reducing
complexity of function meson_mmc_start_cmd.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/meson-gx-mmc.c