- The second issue is more sneaky: a recent fixup patch to one
of the rc:s (I think -rc4) fixed some error path bugs in
the AW9523 driver, then a patch to the regular devel is
improving the use of devres so the fixed errorpath fixes
things broken.
I have been applying the following fixup patch for -next to work:
diff --git a/drivers/pinctrl/pinctrl-aw9523.c b/drivers/pinctrl/pinctrl-aw9523.c
index ebd590a3cec6..90059b0d20e5 100644
--- a/drivers/pinctrl/pinctrl-aw9523.c
+++ b/drivers/pinctrl/pinctrl-aw9523.c
@@ -983,11 +983,8 @@ static int aw9523_probe(struct i2c_client *client)
lockdep_set_subclass(&awi->i2c_lock,
i2c_adapter_depth(client->adapter));
pdesc = devm_kzalloc(dev, sizeof(*pdesc), GFP_KERNEL);
- if (!pdesc) {
- ret = -ENOMEM;
- goto err_disable_vregs;
- }
-
+ if (!pdesc)
+ return -ENOMEM;
ret = aw9523_hw_init(awi);
if (ret)
return ret;
This can be folded in as an "evil merge" or applied separately on
top, your pick.
pinctrl: aw9523: add missing mutex_destroy