drm/msm/dp: free submodule memory on probe failure
Free submodule memory in the event of a probe failure in
order to prevent any potential memory leaks. Furthermore,
unregister svid handler with the USB driver before freeing
the usbpd submodule memory.
CRs-Fixed: 2103490
Change-Id: Ia9ec86d61bc045bca1d162585d0a3e54d47b4582
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
Loading
Please register or sign in to comment