Files
linux/drivers/mmc/core
Linus Walleij e9b86841b3 mmc: fix division by zero in MMC core
The card is not always clocked and the clock frequency zero is perfectly
legal, thus this code in mmc_set_data_timeout() may cause a division by
zero. It will be triggered more often if you're using software clock
gating but can be triggered under other conditions too.

Reported-by: Pierre Tardy <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Reviewed-by: Chris Ball <[email protected]>
Cc: <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
2011-01-08 23:52:33 -05:00
..
2011-01-08 23:52:33 -05:00
2011-01-08 22:48:03 -05:00
2011-01-08 22:48:03 -05:00
2010-08-11 08:59:02 -07:00