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

Skip to content
Commit 8a5fa876 authored by Jiacheng Zheng's avatar Jiacheng Zheng
Browse files

soc: qcom: subsys-pil-tz: fix resource leak problem



msm_bus_client resource is allocated in piltz_resc_init. So
if pil_tz_driver_probe fails somewhere after piltz_resc_init,
we need to call msm_bus_scale_unregister_client to release
the msm_bus_client resource allocated earlier.

Change-Id: If68f2d4b447de15a8b1fd1d68d403ffaf5a6c6d5
Signed-off-by: default avatarJiacheng Zheng <jiaczhen@codeaurora.org>
parent d4bea3de
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