Re: [RESEND PATCH v2 1/4] clk: sprd: check its parent status before reading gate clock

2020-05-26 Thread Stephen Boyd
Quoting Chunyan Zhang (2020-05-26 22:36:35) > From: Chunyan Zhang > > Some clocks only can be accessed if their parent is enabled. mipi_csi_xx > clocks on SC9863A are an examples. We have to ensure the parent clock is > enabled when reading those clocks. > > Signed-off-by: Chunyan Zhang > ---

[RESEND PATCH v2 1/4] clk: sprd: check its parent status before reading gate clock

2020-05-26 Thread Chunyan Zhang
From: Chunyan Zhang Some clocks only can be accessed if their parent is enabled. mipi_csi_xx clocks on SC9863A are an examples. We have to ensure the parent clock is enabled when reading those clocks. Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/gate.c | 7 +++ drivers/clk/sprd/gate.h