]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: rockchip: initialize flags of clk_init_data in mmc-phase clock
authorHeiko Stuebner <heiko@sntech.de>
Tue, 17 May 2016 18:57:50 +0000 (20:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Aug 2016 10:54:47 +0000 (12:54 +0200)
commit690a5f1e8e725a8eb799f281d08fcc3b7f3e2b4a
treeca55f0122fb3cffb0e22a0b7d6fe84c2aaa0fb3e
parentbb70d865a93137abda0f7925344dd9e0591b9677
clk: rockchip: initialize flags of clk_init_data in mmc-phase clock

commit 595144c1141c951a3c6bb9004ae6a2bc29aad66f upstream.

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: 89bf26cbc1a0 ("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>
drivers/clk/rockchip/clk-mmc-phase.c