Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1604544 > unrolled thread
| Started by | Thierry Reding <thierry.reding@gmail.com> |
|---|---|
| First post | 2017-03-20 14:20 +0100 |
| Last post | 2017-03-20 14:20 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] clk: tegra: fix disable unused for clocks sharing enable bit Thierry Reding <thierry.reding@gmail.com> - 2017-03-20 14:20 +0100
| From | Thierry Reding <thierry.reding@gmail.com> |
|---|---|
| Date | 2017-03-20 14:20 +0100 |
| Subject | Re: [PATCH] clk: tegra: fix disable unused for clocks sharing enable bit |
| Message-ID | <tn5o5-5eP-1@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
On Thu, Mar 02, 2017 at 03:22:05PM +0200, Peter De Schrijver wrote: > In case 2 clocks share an enable bit and one of them is enabled by a driver > and the other one is not, CCF will think it's enabled because it will only > look at the hw state. Therefor it will disable the clock and thus also > disable the other clock which was enabled. Solve this by reading the > initial state of the enable bit and incrementing the refcount if it's set. > > Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com> > --- > drivers/clk/tegra/clk-periph-gate.c | 3 +++ > 1 file changed, 3 insertions(+) Applied, thanks. Thierry
Back to top | Article view | linux.kernel
csiph-web