]> git.sur5r.net Git - u-boot/commit
mmc/dw_mmc: Fix clock divider calculation error for bypass mode
authorChin Liang See <clsee@altera.com>
Tue, 10 Jun 2014 06:26:52 +0000 (01:26 -0500)
committerPantelis Antoniou <panto@antoniou-consulting.com>
Fri, 1 Aug 2014 16:45:32 +0000 (19:45 +0300)
commit6ace153d130f528b88117b1edcfe017ea1852d67
treead1f6527943f089fa6e7f90a7d35fcd78675cbf6
parentdae0f5c644c0f76e67306bd49c09d95373b7357a
mmc/dw_mmc: Fix clock divider calculation error for bypass mode

To fix the clock divider calculation error when the controller
clock same as the operating frequency. This is known as bypass
mode. In this mode, the divider should be 0.

Signed-off-by: Chin Liang See <clsee@altera.com>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Cc: Rajeshwari Shinde <rajeshwari.s@samsung.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Mischa Jonker <mjonker@synopsys.com>
drivers/mmc/dw_mmc.c