linux/drivers/mmc
Ludovic Desroches ecc2545f23 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: Luis Henriques <luis.henriques@canonical.com>
History 2015-06-02 12:08:16 +01:00
..
card mmc: card: Don't access RPMB partitions for normal read/write 2015-05-20 13:26:16 +01:00
core mmc: core: add missing pm event in mmc_pm_notify to fix hib restore 2015-05-20 13:26:15 +01:00
host mmc: atmel-mci: fix bad variable type for clkdiv 2015-06-02 12:08:16 +01: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