Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1670159
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH V1 3/9] clk: sprd: add gate clock support |
| Date | 2017-06-20 03:40 +0200 |
| Message-ID | <tUgj8-20K-15@gated-at.bofh.it> (permalink) |
| References | <tTxP3-7p2-3@gated-at.bofh.it> <tTxP3-7p2-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 06/18, Chunyan Zhang wrote: > diff --git a/drivers/clk/sprd/Makefile b/drivers/clk/sprd/Makefile > index 8f802b2..333e2b2 100644 > --- a/drivers/clk/sprd/Makefile > +++ b/drivers/clk/sprd/Makefile > @@ -1,3 +1,3 @@ > ifneq ($(CONFIG_OF),) > -obj-y += ccu_common.o > +obj-y += ccu_common.o ccu_gate.o Can this be built as a module? > endif > diff --git a/drivers/clk/sprd/ccu_gate.c b/drivers/clk/sprd/ccu_gate.c > new file mode 100644 > index 0000000..3d27615 > --- /dev/null > +++ b/drivers/clk/sprd/ccu_gate.c > @@ -0,0 +1,102 @@ > +/* > + * Spreadtrum gate clock driver > + * > + * Copyright (C) 2017 Spreadtrum, Inc. > + * > + * SPDX-License-Identifier: GPL-2.0 > + */ > + > +#include <linux/clk-provider.h> > + > +#include "ccu_gate.h" > + > +DEFINE_SPINLOCK(gate_lock); This variable name is not very unique for debugging lockdep reports. Probably needs 'sprd' in the name. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH V1 3/9] clk: sprd: add gate clock support Chunyan Zhang <chunyan.zhang@spreadtrum.com> - 2017-06-18 04:10 +0200
Re: [PATCH V1 3/9] clk: sprd: add gate clock support Stephen Boyd <sboyd@codeaurora.org> - 2017-06-20 03:40 +0200
Re: [PATCH V1 3/9] clk: sprd: add gate clock support Chunyan Zhang <zhang.lyra@gmail.com> - 2017-06-22 12:20 +0200
Re: [PATCH V1 3/9] clk: sprd: add gate clock support Stephen Boyd <sboyd@codeaurora.org> - 2017-06-30 03:50 +0200
csiph-web