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 09:49:28 +0000 (11:49 +0200)
commit68f99031897d63ae4937b0f945475dc6782afde4
treeea1cbc26dab465c1c072a558f504ca9600b67359
parent9162d29bc48a43a30217fc1fd939023a75ce604b
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