mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 21:15:53 +02:00
clk: rockchip: initialize flags of clk_init_data in mmc-phase clock
commit595144c114upstream. The flags element of clk_init_data was never initialized for mmc- phase-clocks resulting in the element containing a random value and thus possibly enabling unwanted clock flags. Fixes:89bf26cbc1("clk: rockchip: Add support for the mmc clock phases using the framework") Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9162d29bc4
commit
68f9903189
|
|
@ -153,6 +153,7 @@ struct clk *rockchip_clk_register_mmc(const char *name,
|
|||
return NULL;
|
||||
|
||||
init.name = name;
|
||||
init.flags = 0;
|
||||
init.num_parents = num_parents;
|
||||
init.parent_names = parent_names;
|
||||
init.ops = &rockchip_mmc_clk_ops;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user