diff options
author | Seungwon Jeon <tgih.jun@samsung.com> | 2012-05-22 06:01:21 +0200 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-06-06 15:38:51 +0200 |
commit | e419990b5e811027b1552cbc5b76a6cc180f7f48 (patch) | |
tree | 12791ff201b9e56f74caaa86c22ce0964a8effcc /tools | |
parent | mmc: dw_mmc: fix incorrect setting of host->data of NULL (diff) | |
download | linux-e419990b5e811027b1552cbc5b76a6cc180f7f48.tar.xz linux-e419990b5e811027b1552cbc5b76a6cc180f7f48.zip |
mmc: dw_mmc: correct the calculation for CLKDIV
In case of "host->bus_hz < slot->clock", divider value is
miscalculated. And clock divider register value is multiple of 2. If
calculated divider value is odd number, result can be over-clocking.
Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Acked-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions