Re: [PATCH 2/2] i2c: Clear client->irq in i2c_device_remove

From: Charles Keepax
Date: Wed Oct 31 2018 - 05:52:38 EST


On Tue, Oct 30, 2018 at 02:55:50PM +0000, Wolfram Sang wrote:
>
> > No, that's fine. Now I get this, and I totally agree with the approach:
> >
> > Reviewed-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>
>
> Thanks! If one of you could provide me with a Fixes tag (for this. or
> both patches?), that would be most helpful.
>

It's a bit of a long chain and fairly tricky to say exactly when
the bug was introduced but I think this is probably the closest
match:

Fixes: 2fd36c552649 ("i2c: core: Map OF IRQ at probe time")

I suspect the process of unbinding/rebinding would have also
not worked before that commit but it would have not worked
for different reasons.

Thanks,
Charles