Skip to contentSkip to conversation

Patch "clk: rockchip: initialize flags of clk_init_data in mmc-phase clock" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Aug 3, 2016

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

clk: rockchip: initialize flags of clk_init_data in mmc-phase clock

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
clk-rockchip-initialize-flags-of-clk_init_data-in-mmc-phase-clock.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 595144c1141c951a3c6bb9004ae6a2bc29aad66f Mon Sep 17 00:00:00 2001

From: Heiko Stuebner <[email protected]>
Date: Tue, 17 May 2016 20:57:50 +0200
Subject: clk: rockchip: initialize flags of clk_init_data in mmc-phase clock

From: Heiko Stuebner <[email protected]>

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")
---
 drivers/clk/rockchip/clk-mmc-phase.c |    1 +
 1 file changed, 1 insertion(+)
drivers/clk/rockchip/clk-mmc-phase.c +1 -0
@@ -153,6 +153,7 @@ struct clk *rockchip_clk_register_mmc(co
 		return NULL;
 
 	init.name = name;
+	init.flags = 0;
 	init.num_parents = num_parents;
 	init.parent_names = parent_names;
 	init.ops = &rockchip_mmc_clk_ops;

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/clk-rockchip-initialize-flags-of-clk_init_data-in-mmc-phase-clock.patch