]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: sdhci: programmable clock calculation needs multiplier +1
authorcmachida <curtis.machida@intel.com>
Fri, 12 Apr 2024 19:26:40 +0000 (12:26 -0700)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 26 Apr 2024 06:31:57 +0000 (15:31 +0900)
commit9ae1fe1a5848b48c42ef9ebe4d4a6928ee336afd
treeece0e0d95c9c9789764afdf364eaf4d0f8ef17a5
parent4d3dc72165486c88214fbcaa9742ce7dee9693b3
mmc: sdhci: programmable clock calculation needs multiplier +1

According to the SD Host Controller Simplified Specification v4.20,
the multiplier value M is one more than the Clock Multiplier field.

Copied code from Linux project.  drivers/mmc/host/sdhci.c line 4405

Signed-off-by: cmachida <curtis.machida@intel.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Sean Anderson <sean.anderson@seco.com>
drivers/mmc/sdhci.c