]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: omap_hsmmc: update mmc->clock with the actual bus speed
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Tue, 30 Jan 2018 15:01:43 +0000 (16:01 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 19 Feb 2018 07:58:55 +0000 (16:58 +0900)
commit3149c13ac324dae0b8993a4f6c964a261aa691a9
tree8a97c8717f09f2f664913b5f7d7a88e7fc1ccfe0
parentbcc6bd84d48cfc5f7b777feb2e2a6e264b270252
mmc: omap_hsmmc: update mmc->clock with the actual bus speed

When the clock is applied, compute the actual value of the clock. It may be
slightly different from the requested value (max freq, divisor threshold)

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
drivers/mmc/omap_hsmmc.c