mmc: sdhi: fill in actual_clock
authorTamás Szűcs <tszucs@protonmail.ch>
Thu, 29 Aug 2019 18:36:34 +0000 (20:36 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 11 Sep 2019 13:58:39 +0000 (15:58 +0200)
commit75eaf49f5d3d8f866687a9f15869aaef21fb1a21
tree84bd5b5b592399a437490f42b40f4ec2134b7a68
parent38eee2e82c57ced726827cae2bf09bd133c7b8be
mmc: sdhi: fill in actual_clock

Save set clock in mmc_host actual_clock enabling exporting it via debugfs.
This will indicate the precise SD clock in I/O settings rather than only the
sometimes misleading requested clock.

Signed-off-by: Tamás Szűcs <tszucs@protonmail.ch>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/renesas_sdhi_core.c