Files
linux/drivers/mmc
Ludovic Desroches a72719d75d mmc: atmel-mci: fix bad variable type for clkdiv
commit 60c8f783a1 upstream.

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>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-06-05 23:19:57 -07:00
..
2012-01-11 23:58:47 -05:00