]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: mediatek: refine msdc timeout api
authorChun-Hung Wu <chun-hung.wu@mediatek.com>
Mon, 20 Jul 2020 00:42:37 +0000 (08:42 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 24 Jul 2020 10:53:33 +0000 (12:53 +0200)
commita1b038ea9674bd6bca323eb2471c2920c2bfb113
tree21425d96b6ac7cf9f23ceeb5e2b920befaa46a76
parenta842bb65ad5f92374b01232fb55c322a35bfb363
mmc: mediatek: refine msdc timeout api

Extract msdc timeout api common part to have
better code architecture and avoid redundant code.

Signed-off-by: Chun-Hung Wu <chun-hung.wu@mediatek.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Link: https://lore.kernel.org/r/1595205759-5825-3-git-send-email-chun-hung.wu@mediatek.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mtk-sd.c