Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 490ead79 authored by Ajay Agarwal's avatar Ajay Agarwal
Browse files

phy: msm: usb: Clean up debugfs directory on probe failure



Currently we are not cleaning up the already created debugfs
entry for msm_otg if the msm_otg_probe fails. On the subsequent
probe, fresh debugfs entry is not created for the new msm_otg
since the older one already exists, leading to incorrect access.
Fix this by cleaning up the existing debugfs entry if the probe
fails.

Change-Id: I442f06711dec139c16736a8bc7246d02ce1ab999
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent a5370b86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment