summaryrefslogtreecommitdiffstats
path: root/scripts/gfp-translate
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 /scripts/gfp-translate
parentddb5a92da5f32779958303716429d50a46c3177d (diff)
downloadlinux-4711c6ab585ea627560a4878917aeaa1178878c2.tar.gz
linux-4711c6ab585ea627560a4878917aeaa1178878c2.tar.bz2
linux-4711c6ab585ea627560a4878917aeaa1178878c2.zip
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 'scripts/gfp-translate')
0 files changed, 0 insertions, 0 deletions