Re: usb: bdc: Use devm_clk_get_optional_enabled() in bdc_probe()

From: Markus Elfring

Date: Fri Nov 20 2026 - 02:15:57 EST


>> this patch is wrong because the remove function and the error handling path
>> of the probe need to be updated.
> Don't worry, we don't apply patches from this bot 🙂

I guess that collateral evolution can become more constructive again.
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/log/?qt=author&q=Elfring

Would further contributors dare to pick corresponding change opportunities up?
https://elixir.bootlin.com/linux/v7.4-rc1/source/drivers/usb/gadget/udc/bdc/bdc_core.c#L483-L583

https://elixir.bootlin.com/linux/v7.4-rc1/source/include/linux/clk.h#L680-L699
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/driver-api/driver-model/devres.rst?id=d220c9443db6e5f20a60cad55c6a0ae7a75c63b8#n242

Regards,
Markus