]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: rmobile: Assure SD-IF clock are configured correctly
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 11 Jan 2018 15:28:31 +0000 (16:28 +0100)
committerMarek Vasut <marex@denx.de>
Fri, 16 Feb 2018 15:43:09 +0000 (16:43 +0100)
commitfd5577ce26e18932bb5d4db02591625e46f2e9cc
tree8b5c1743c9af8d619e9709e5907a88cb03302990
parent32fe36574ea5e6ea55313e16547b98a984af7767
clk: rmobile: Assure SD-IF clock are configured correctly

The SD driver calls clk_set_rate() before clk_enable(), yet clk_set_rate()
implementation in the clock driver does not set the SD-IF divider. Fix it.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
drivers/clk/renesas/clk-rcar-gen3.c