summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/mtk-sd.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2023-06-16 22:42:27 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2023-06-19 13:14:26 +0200
commit4711c6ab585ea627560a4878917aeaa1178878c2 (patch)
tree124bdad3fa3b3afda74b009f2eda347ad941205d /drivers/mmc/host/mtk-sd.c
parentddb5a92da5f32779958303716429d50a46c3177d (diff)
mmc: mmci: Break out a helper function
These four lines clearing, masking and resetting the state of the busy detect state machine is repeated five times in the code so break this out to a small helper so things are easier to read. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20230405-pl180-busydetect-fix-v7-9-69a7164f2a61@linaro.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/mtk-sd.c')
0 files changed, 0 insertions, 0 deletions