Re: [PATCH v1] bus: mhi: host: Fix controller cleanup on EDL sysfs failure

Manivannan Sadhasivam <[email protected]> Wed, 22 Jul 2026 11:58:25 +0200
Newsgroups dev.linux.lists.mhi,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-kernel
Message-ID <178471430574.139980.6107699223693982045.b4-ty@b4>
On Tue, 07 Jul 2026 14:51:00 -0400, Yuho Choi wrote:
> mhi_register_controller() adds the controller device before creating the
> optional trigger_edl sysfs file. If sysfs_create_file() fails, the error
> path only drops the device reference and leaves the device registered.
> 
> Add a post-device_add() error path that calls device_del() before
> put_device(), matching the normal unregister path.
> 
> [...]

Applied, thanks!

[1/1] bus: mhi: host: Fix controller cleanup on EDL sysfs failure
      commit: df0da14720337107da54ceacd310a21855d24225

Best regards,
-- 
மணிவண்ணன் சதாசிவம்