public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 03/10] pinctrl: sunxi: add A20 support to A10 driver
Date: Thu, 4 May 2017 16:41:52 +0200	[thread overview]
Message-ID: <20170504144152.34yzk424aqrizmbu@lukather> (raw)
In-Reply-To: <83062089-19CD-4805-A6DC-2C25D75621FF@aosc.io>

On Thu, May 04, 2017 at 10:03:26PM +0800, Icenowy Zheng wrote:
> 
> 
> ? 2017?5?4? GMT+08:00 ??10:02:20, Maxime Ripard <maxime.ripard@free-electrons.com> ??:
> >On Thu, May 04, 2017 at 09:49:59PM +0800, Icenowy Zheng wrote:
> >>  static const struct of_device_id sun4i_a10_pinctrl_match[] = {
> >> -	{ .compatible = "allwinner,sun4i-a10-pinctrl", },
> >> +	{
> >> +		.compatible = "allwinner,sun4i-a10-pinctrl",
> >> +		.data = (void *)PINCTRL_SUN4I_A10
> >> +	},
> >> +	{
> >> +		.compatible = "allwinner,sun7i-a20-pinctrl",
> >> +		.data = (void *)PINCTRL_SUN7I_A20
> >> +	},
> >>  	{}
> >>  };
> >
> >This means you're going to have two drivers probing for the same
> >device: this driver, and the old one. This is not ok, and probably
> >introduces some corner cases.
> 
> The A20 driver is dropped in the next commit.

Yes, and that is an issue for bisectability. Anyone that will checkout
between those two commits will have a broken kernel, and that is not
ok. Any commit should be in a working state.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170504/c11aab5e/attachment.sig>

  reply	other threads:[~2017-05-04 14:41 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-04 13:49 [PATCH v2 00/10] Initial Allwinner R40 support Icenowy Zheng
2017-05-04 13:49 ` [PATCH v2 01/10] arm: sunxi: add support for R40 SoC Icenowy Zheng
2017-05-05  3:35   ` [linux-sunxi] " Chen-Yu Tsai
2017-05-04 13:49 ` [PATCH v2 02/10] pinctrl: sunxi: add definitions for add A20 and R40 support to A10 driver Icenowy Zheng
2017-05-04 14:04   ` Maxime Ripard
2017-05-04 14:07     ` Icenowy Zheng
2017-05-04 14:40       ` Maxime Ripard
2017-05-04 13:49 ` [PATCH v2 03/10] pinctrl: sunxi: add A20 " Icenowy Zheng
2017-05-04 14:02   ` Maxime Ripard
2017-05-04 14:03     ` Icenowy Zheng
2017-05-04 14:41       ` Maxime Ripard [this message]
2017-05-04 14:45         ` Icenowy Zheng
2017-05-05 19:49           ` Maxime Ripard
2017-05-04 13:50 ` [PATCH v2 04/10] pinctrl: sunxi: switch A20's pinctrl driver to use the A10 version Icenowy Zheng
2017-05-11 14:41   ` Linus Walleij
2017-05-04 13:50 ` [PATCH v2 05/10] dt-bindings: add compatible string for Allwinner R40 pinctrl Icenowy Zheng
2017-05-08 16:44   ` Rob Herring
2017-05-04 13:50 ` [PATCH v2 06/10] pinctrl: sunxi: add support of R40 to A10 pinctrl driver Icenowy Zheng
2017-05-04 13:50 ` [PATCH v2 07/10] dt-bindings: add compatible string for Allwinner R40 CCU Icenowy Zheng
2017-05-08 16:44   ` Rob Herring
2017-05-04 13:50 ` [PATCH v2 08/10] clk: sunxi-ng: support R40 SoC Icenowy Zheng
2017-05-04 14:23   ` Maxime Ripard
2017-05-04 13:50 ` [PATCH v2 09/10] ARM: dts: sun8i: Add basic dtsi file for Allwinner R40 Icenowy Zheng
2017-05-04 14:31   ` Maxime Ripard
2017-05-04 13:50 ` [PATCH v2 10/10] ARM: dts: sun8i: Add board dts file for Banana Pi M2 Ultra Icenowy Zheng
2017-05-04 14:39   ` Maxime Ripard
2017-05-11 13:44   ` Linus Walleij
2017-05-22  8:48 ` [PATCH v2 00/10] Initial Allwinner R40 support Linus Walleij

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170504144152.34yzk424aqrizmbu@lukather \
    --to=maxime.ripard@free-electrons.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox