Re: [PATCH] gpio: omap: do not register driver in probe()
From: Danilo Krummrich
Date: Mon Jan 26 2026 - 06:36:06 EST
On Mon Jan 26, 2026 at 10:06 AM CET, Bartosz Golaszewski wrote:
> On Fri, Jan 23, 2026 at 2:44 PM Danilo Krummrich <dakr@xxxxxxxxxx> wrote:
>>
>> On Fri Jan 23, 2026 at 2:31 PM CET, Danilo Krummrich wrote:
>> > However, for the purpose of avoiding the described potential deadlock in
>> > combination with commit dc23806a7c47 ("driver core: enforce device_lock for
>> > driver_match_device()"), this patch only addresses the driver registration
>> > issue.
>>
>> I.e. unless there are any concerns, I'd like to take this one through the
>> driver-core tree.
>
> It looks good to me, but it's a GPIO driver, this can go together with
> GPIO fixes for v6.19-rc8 as usual.
Commit [1] reveals the issue and was originally scheduled for a driver-core
fixes PR, so it made sense for this patch to go together with [1]. However, I
told Linus [2] that I will hold back [1] for now and send it with the -rc1 PR to
give it some more time in linux-next.
So, if you can take this patch for -rc8, that'd be great.
Thanks,
Danilo
[1] dc23806a7c47 ("driver core: enforce device_lock for driver_match_device()")
[2] https://lore.kernel.org/driver-core/DFWVL46MM928.V9LOBRWI8BLZ@xxxxxxxxxx/