summary refs log tree commit diff
path: root/fs/mount.h
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2017-08-25 11:49:53 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2017-08-30 15:03:52 +0200
commitc34eda69ad4c8be618ee95627b3e9ea052cf2324 (patch)
treeeba0d0639e7bf1c5d4d964cb6d2f61422c57ac6a /fs/mount.h
parent734d21ccdc29c65dac6a0d4099ddfd69184cf953 (diff)
downloadlinux-c34eda69ad4c8be618ee95627b3e9ea052cf2324.tar.gz
mmc: sunxi: Reset the device at probe time
We might be into some troubles if the bootloader misconfigured the MMC
controller.

We currently only de-assert the reset line at probe time, which means that
if the device was already out of reset, we're going to keep whatever state
was set already.

Switch to a reset instead of the deassert to have a device in a pristine
state when we start operating.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'fs/mount.h')
0 files changed, 0 insertions, 0 deletions