* [PATCH] i2c: rk3x: add Kconfig dependency on COMMON_CLK
@ 2014-11-24 0:32 Max Schwarz
2014-11-24 8:05 ` Uwe Kleine-König
0 siblings, 1 reply; 7+ messages in thread
From: Max Schwarz @ 2014-11-24 0:32 UTC (permalink / raw)
To: Wolfram Sang; +Cc: Doug Anderson, Linux I2C, Jean Delvare, Heiko Stübner
Now that we are using the clk notifier framework we get compile errors
without COMMON_CLK. But the driver fails to probe without COMMON_CLK
anyways, so just add that as a Kconfig dependency.
Signed-off-by: Max Schwarz <max.schwarz-BGeptl67XyCzQB+pC5nmwQ@public.gmane.org>
---
As reported by the kbuild test robot at Intel Open Source.
drivers/i2c/busses/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index a940e33..bb66119 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -720,7 +720,7 @@ config I2C_RIIC
config I2C_RK3X
tristate "Rockchip RK3xxx I2C adapter"
- depends on OF
+ depends on OF && COMMON_CLK
help
Say Y here to include support for the I2C adapter in Rockchip RK3xxx
SoCs.
--
1.9.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] i2c: rk3x: add Kconfig dependency on COMMON_CLK
2014-11-24 0:32 [PATCH] i2c: rk3x: add Kconfig dependency on COMMON_CLK Max Schwarz
@ 2014-11-24 8:05 ` Uwe Kleine-König
[not found] ` <20141124080509.GK4431-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Uwe Kleine-König @ 2014-11-24 8:05 UTC (permalink / raw)
To: Max Schwarz
Cc: Wolfram Sang, Doug Anderson, Linux I2C, Jean Delvare,
Heiko Stübner
Hello Max,
On Mon, Nov 24, 2014 at 01:32:27AM +0100, Max Schwarz wrote:
> Now that we are using the clk notifier framework we get compile errors
> without COMMON_CLK. But the driver fails to probe without COMMON_CLK
> anyways, so just add that as a Kconfig dependency.
Hmm, I wonder how a kernel that fails to compile can even start probing
... :-)
Anyhow, it would be nice to quote the compiler error you fix here and
point out the patch that failed to add the needed dependency.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] i2c: rk3x: add Kconfig dependency on COMMON_CLK
[not found] ` <20141124080509.GK4431-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
@ 2014-11-24 9:31 ` Wolfram Sang
2014-11-24 9:38 ` Uwe Kleine-König
0 siblings, 1 reply; 7+ messages in thread
From: Wolfram Sang @ 2014-11-24 9:31 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Max Schwarz, Doug Anderson, Linux I2C, Jean Delvare,
Heiko Stübner
[-- Attachment #1: Type: text/plain, Size: 732 bytes --]
On Mon, Nov 24, 2014 at 09:05:09AM +0100, Uwe Kleine-König wrote:
> Hello Max,
>
> On Mon, Nov 24, 2014 at 01:32:27AM +0100, Max Schwarz wrote:
> > Now that we are using the clk notifier framework we get compile errors
> > without COMMON_CLK. But the driver fails to probe without COMMON_CLK
> > anyways, so just add that as a Kconfig dependency.
> Hmm, I wonder how a kernel that fails to compile can even start probing
> ... :-)
>
> Anyhow, it would be nice to quote the compiler error you fix here and
> point out the patch that failed to add the needed dependency.
Yes, that would be perfect. But for fixing the breakage in linux-next we
created, this is good enough for me.
Applied to for-next, thanks!
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] i2c: rk3x: add Kconfig dependency on COMMON_CLK
2014-11-24 9:31 ` Wolfram Sang
@ 2014-11-24 9:38 ` Uwe Kleine-König
[not found] ` <20141124093823.GN4431-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Uwe Kleine-König @ 2014-11-24 9:38 UTC (permalink / raw)
To: Wolfram Sang
Cc: Max Schwarz, Doug Anderson, Linux I2C, Jean Delvare,
Heiko Stübner
Hey Wolfram,
On Mon, Nov 24, 2014 at 10:31:16AM +0100, Wolfram Sang wrote:
> On Mon, Nov 24, 2014 at 09:05:09AM +0100, Uwe Kleine-König wrote:
> > Hello Max,
> >
> > On Mon, Nov 24, 2014 at 01:32:27AM +0100, Max Schwarz wrote:
> > > Now that we are using the clk notifier framework we get compile errors
> > > without COMMON_CLK. But the driver fails to probe without COMMON_CLK
> > > anyways, so just add that as a Kconfig dependency.
> > Hmm, I wonder how a kernel that fails to compile can even start probing
> > ... :-)
> >
> > Anyhow, it would be nice to quote the compiler error you fix here and
> > point out the patch that failed to add the needed dependency.
>
> Yes, that would be perfect. But for fixing the breakage in linux-next we
> created, this is good enough for me.
>
> Applied to for-next, thanks!
Just for me to learn: is your for-next stable once pushed?
As you didn't push out yet, it's
Fixes: 5a6f1566f6a0 ("i2c: rk3x: handle dynamic clock rate changes correctly")
party on,
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] i2c: rk3x: add Kconfig dependency on COMMON_CLK
[not found] ` <20141124093823.GN4431-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
@ 2014-11-24 9:58 ` Wolfram Sang
2014-11-24 9:59 ` Uwe Kleine-König
0 siblings, 1 reply; 7+ messages in thread
From: Wolfram Sang @ 2014-11-24 9:58 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Max Schwarz, Doug Anderson, Linux I2C, Jean Delvare,
Heiko Stübner
[-- Attachment #1: Type: text/plain, Size: 638 bytes --]
> > Applied to for-next, thanks!
> Just for me to learn: is your for-next stable once pushed?
Nope, I push manually when I feel comfortable. That might change,
though.
> As you didn't push out yet, it's
>
> Fixes: 5a6f1566f6a0 ("i2c: rk3x: handle dynamic clock rate changes correctly")
Actually, it is 249051f49907. I rebased my internal i2c/for-3.19 tree to
fix an authorship and merged that into i2c/for-next. For those reasons,
my current policy is to use "Fixes:" only for commits which hit the
linus-tree. I probably shouldn't do such things, but as long as I was
working on my own, this worked pretty well ;)
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] i2c: rk3x: add Kconfig dependency on COMMON_CLK
2014-11-24 9:58 ` Wolfram Sang
@ 2014-11-24 9:59 ` Uwe Kleine-König
[not found] ` <20141124095954.GR4431-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Uwe Kleine-König @ 2014-11-24 9:59 UTC (permalink / raw)
To: Wolfram Sang
Cc: Max Schwarz, Doug Anderson, Linux I2C, Jean Delvare,
Heiko Stübner
On Mon, Nov 24, 2014 at 10:58:00AM +0100, Wolfram Sang wrote:
>
> > > Applied to for-next, thanks!
> > Just for me to learn: is your for-next stable once pushed?
>
> Nope, I push manually when I feel comfortable. That might change,
> though.
>
> > As you didn't push out yet, it's
> >
> > Fixes: 5a6f1566f6a0 ("i2c: rk3x: handle dynamic clock rate changes correctly")
>
> Actually, it is 249051f49907. I rebased my internal i2c/for-3.19 tree to
> fix an authorship and merged that into i2c/for-next. For those reasons,
> my current policy is to use "Fixes:" only for commits which hit the
> linus-tree. I probably shouldn't do such things, but as long as I was
> working on my own, this worked pretty well ;)
If it's not stable you can even squash in the fix. In this case the
commit log drill was superfluous for this commit, but (hopefully) still
useful for the future.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] i2c: rk3x: add Kconfig dependency on COMMON_CLK
[not found] ` <20141124095954.GR4431-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
@ 2014-11-24 10:06 ` Wolfram Sang
0 siblings, 0 replies; 7+ messages in thread
From: Wolfram Sang @ 2014-11-24 10:06 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Max Schwarz, Doug Anderson, Linux I2C, Jean Delvare,
Heiko Stübner
[-- Attachment #1: Type: text/plain, Size: 114 bytes --]
> commit log drill was superfluous for this commit, but (hopefully) still
> useful for the future.
I think so.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-11-24 10:06 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-24 0:32 [PATCH] i2c: rk3x: add Kconfig dependency on COMMON_CLK Max Schwarz
2014-11-24 8:05 ` Uwe Kleine-König
[not found] ` <20141124080509.GK4431-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-11-24 9:31 ` Wolfram Sang
2014-11-24 9:38 ` Uwe Kleine-König
[not found] ` <20141124093823.GN4431-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-11-24 9:58 ` Wolfram Sang
2014-11-24 9:59 ` Uwe Kleine-König
[not found] ` <20141124095954.GR4431-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-11-24 10:06 ` Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).