]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mmc: meson-gx: remove open coded read with timeout
authorJerome Brunet <jbrunet@baylibre.com>
Tue, 23 Apr 2019 09:02:29 +0000 (11:02 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 6 May 2019 09:55:39 +0000 (11:55 +0200)
commit98849da63fffdc010dca6e6f6785c2e2ff34e807
treeb5c51dab07533936bb72f3a16e33d62e73ae8475
parent7fc13b879fdd4fec75ffe6cd8770d512c3d6420f
mmc: meson-gx: remove open coded read with timeout

There is already a function available to poll a register until a
condition is met. Let's use it instead of open coding it.

Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/meson-gx-mmc.c