commit | 60c8f783a18feb95ad967c87e9660caf09fb4700 | [log] [tgz] |
---|---|---|
author | Ludovic Desroches <ludovic.desroches@atmel.com> | Wed May 06 15:16:46 2015 +0200 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon May 18 09:04:42 2015 +0200 |
tree | 11da018d6c00c891e59a37cb6f83867fad098642 | |
parent | 030bbdbf4c833bc69f502eae58498bc5572db736 [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>