summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/mtk-sd.c
diff options
context:
space:
mode:
authorWenchao Chen <wenchao.chen@unisoc.com>2022-09-14 14:37:02 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2022-09-20 11:34:06 +0200
commitd252e9b1073a12fee68fc9a626a83035cd03cf70 (patch)
treefb04efd75975b79353b86e3b88465df805ff56a8 /drivers/mmc/host/mtk-sd.c
parent627a78b2dec669c4efa216d827341c948eb3f42d (diff)
mmc: sdhci-sprd: Fix the limitation of div
Because the bit field size of the divider coefficient register is 1023, it is limited before returning the value. Signed-off-by: Wenchao Chen <wenchao.chen@unisoc.com> Link: https://lore.kernel.org/r/20220914063702.20283-1-wenchao.chen666@gmail.com 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