summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/wmt-sdmmc.c
diff options
context:
space:
mode:
authorLudovic Desroches <ludovic.desroches@atmel.com>2015-05-06 15:16:46 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2015-05-18 09:04:42 +0200
commit60c8f783a18feb95ad967c87e9660caf09fb4700 (patch)
tree11da018d6c00c891e59a37cb6f83867fad098642 /drivers/mmc/host/wmt-sdmmc.c
parent030bbdbf4c833bc69f502eae58498bc5572db736 (diff)
mmc: atmel-mci: fix bad variable type for clkdiv
clkdiv is declared as an u32 but it can be set to a negative value causing a huge divisor value. Change its type to int to avoid this case. Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Cc: <stable@vger.kernel.org> # 3.4 and later Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/wmt-sdmmc.c')
0 files changed, 0 insertions, 0 deletions