[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190731193517.237136-1-sboyd@kernel.org>
Date: Wed, 31 Jul 2019 12:35:08 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-clk@...r.kernel.org,
Andy Gross <agross@...nel.org>,
Baolin Wang <baolin.wang@...aro.org>,
Barry Song <Baohua.Song@....com>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Charles Keepax <ckeepax@...nsource.cirrus.com>,
Chunyan Zhang <zhang.chunyan@...aro.org>,
Dinh Nguyen <dinguyen@...nel.org>,
Doug Anderson <dianders@...omium.org>,
Guo Zeng <Guo.Zeng@....com>,
Jerome Brunet <jbrunet@...libre.com>,
Kishon Vijay Abraham I <kishon@...com>,
Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
Neil Armstrong <narmstrong@...libre.com>,
Richard Fitzgerald <rf@...nsource.cirrus.com>,
Roger Quadros <rogerq@...com>, Taniya Das <tdas@...eaurora.org>
Subject: [PATCH 0/9] Make clk_hw::init NULL after clk registration
We don't want clk provider drivers using the init member of struct
clk_hw after the clk is registered. It isn't guaranteed to be a valid
pointer and all the necessary information inside the structure is copied
over into struct clk_core anyway. This patch series fixes up the handful
of users that do this and then overwrites the pointer to NULL within the
clk registration path.
Stephen Boyd (9):
clk: actions: Don't reference clk_init_data after registration
clk: lochnagar: Don't reference clk_init_data after registration
clk: meson: axg-audio: Don't reference clk_init_data after
registration
clk: qcom: Don't reference clk_init_data after registration
clk: sirf: Don't reference clk_init_data after registration
clk: socfpga: Don't reference clk_init_data after registration
clk: sprd: Don't reference clk_init_data after registration
phy: ti: am654-serdes: Don't reference clk_init_data after
registration
clk: Overwrite clk_hw::init with NULL during clk_register()
Cc: Andy Gross <agross@...nel.org>
Cc: Baolin Wang <baolin.wang@...aro.org>
Cc: Barry Song <Baohua.Song@....com>
Cc: Bjorn Andersson <bjorn.andersson@...aro.org>
Cc: Charles Keepax <ckeepax@...nsource.cirrus.com>
Cc: Chunyan Zhang <zhang.chunyan@...aro.org>
Cc: Dinh Nguyen <dinguyen@...nel.org>
Cc: Doug Anderson <dianders@...omium.org>
Cc: Guo Zeng <Guo.Zeng@....com>
Cc: Jerome Brunet <jbrunet@...libre.com>
Cc: Kishon Vijay Abraham I <kishon@...com>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>
Cc: Neil Armstrong <narmstrong@...libre.com>
Cc: Richard Fitzgerald <rf@...nsource.cirrus.com>
Cc: Roger Quadros <rogerq@...com>
Cc: Taniya Das <tdas@...eaurora.org>
drivers/clk/actions/owl-common.c | 3 ++-
drivers/clk/clk-lochnagar.c | 2 +-
drivers/clk/clk.c | 24 ++++++++++++++++--------
drivers/clk/meson/axg-audio.c | 7 +++++--
drivers/clk/qcom/clk-rpmh.c | 4 ++--
drivers/clk/sirf/clk-common.c | 12 ++++++++----
drivers/clk/socfpga/clk-gate.c | 21 +++++++++++----------
drivers/clk/socfpga/clk-periph-a10.c | 7 ++++---
drivers/clk/sprd/common.c | 5 +++--
drivers/phy/ti/phy-am654-serdes.c | 4 ++--
include/linux/clk-provider.h | 3 ++-
11 files changed, 56 insertions(+), 36 deletions(-)
base-commit: 5f9e832c137075045d15cd6899ab0505cfb2ca4b
--
Sent by a computer through tubes
Powered by blists - more mailing lists