clk: rockchip: initialize flags of clk_init_data in mmc-phase clock
From: Heiko Stuebner <heiko@...> Date: Tue, 17 May 2016 20:57:50 +0200
Commit-Message
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") Cc: stable@vger.kernel.org Signed-off-by: Heiko Stuebner <heiko@...>
Patch-Comment
Found while investigating the critical clock locking in __clk_core_init as it generated a bunch of warnings due to the (random) flags containing the critical clock bit in most cases. I've also already applied this to my fixes branch, so posted for reference. drivers/clk/rockchip/clk-mmc-phase.c | 1 + 1 file changed, 1 insertion(+)
Statistics
- 1 lines added
- 0 lines removed