linux/drivers/mmc
Ludovic Desroches 526639cb20 mmc: atmel-mci: fix bad variable type for clkdiv
[ Upstream commit 60c8f783a1 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
History 2015-06-10 13:42:22 -04:00
..
card mmc: card: Don't access RPMB partitions for normal read/write 2015-06-09 13:43:38 -04:00
core mmc: core: add missing pm event in mmc_pm_notify to fix hib restore 2015-06-09 13:43:38 -04:00
host mmc: atmel-mci: fix bad variable type for clkdiv 2015-06-10 13:42:22 -04: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