Re: [PATCH v2 03/10] pinctrl: sunxi: add A20 support to A10 driver
From: Icenowy Zheng <hidden>
Date: 2017-05-04 14:46:02
Also in:
linux-arm-kernel, linux-clk, linux-gpio, lkml
From: Icenowy Zheng <hidden>
Date: 2017-05-04 14:46:02
Also in:
linux-arm-kernel, linux-clk, linux-gpio, lkml
于 2017年5月4日 GMT+08:00 下午10:41:52, Maxime Ripard [off-list ref] 写到:
On Thu, May 04, 2017 at 10:03:26PM +0800, Icenowy Zheng wrote:quoted
于 2017年5月4日 GMT+08:00 下午10:02:20, Maxime Ripard[off-list ref] 写到:quoted
quoted
On Thu, May 04, 2017 at 09:49:59PM +0800, Icenowy Zheng wrote:quoted
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.
Squash them together?
Maxime
-- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/d/optout.