Re: [PATCH v5 2/2] phy: qcom-mipi-csi2: Add a CSI2 MIPI DPHY driver

Bryan O'Donoghue
2026-04-06T15:37:47Z

On 06/04/2026 15:28, Abel Vesa wrote:
>> +
>> + for (i = 0; i < num_pds; i++) {
>> + csi2phy->pds[i] = dev_pm_domain_attach_by_name(dev,
>> + csi2phy->soc_cfg->genpd_names[i]);
> You need to do detach these on error, otherwise you get:
>
> sysfs: cannot create duplicate filename '/devices/genpd:0:acec000.phy'
> CPU: 1 UID: 0 PID: 93 Comm: kworker/u49:2 Not tainted 7.0.0-rc6-00062-gd691cf9ea708 #12 PREEMPT
> Hardware name: Dell Inc. XPS 13 9345/05H2K4, BIOS 2.11.0 09/21/2025
> Workqueue: events_unbound deferred_probe_work_func

Yeah I noticed that myself, thanks for posting.

---
bod