1
0
Fork 0
alistair23-linux/drivers/mmc
Ludovic Desroches 60c8f783a1 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>
2015-05-18 09:04:42 +02:00
..
card mmc: card: Don't access RPMB partitions for normal read/write 2015-05-06 14:55:12 +02:00
core mmc: core: add missing pm event in mmc_pm_notify to fix hib restore 2015-05-04 10:33:33 +02:00
host mmc: atmel-mci: fix bad variable type for clkdiv 2015-05-18 09:04:42 +02:00
Kconfig mmc: explicitly mention SDIO support in Kconfig 2008-10-12 11:04:36 +02:00
Makefile mmc: sdhci-pci: add platform data 2012-01-11 23:58:47 -05:00