mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
platform: msm: free the codec node after disconnect
The codec interface node is allocated during the codec addition during dp connect. These changes will free the node after the dp disconnect. Change-Id: I6f1fc5639f1a5fa61ef04557b888b3389800dce1 Signed-off-by: Sankeerth Billakanti <sbillaka@codeaurora.org>
This commit is contained in:
parent
9a469b261f
commit
4945008ef3
1 changed files with 1 additions and 0 deletions
|
|
@ -130,6 +130,7 @@ static int msm_ext_disp_remove_intf_data(struct msm_ext_disp *ext_disp,
|
|||
if (node->data == data) {
|
||||
list_del(pos);
|
||||
pr_debug("Deleted the intf data\n");
|
||||
kfree(node);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue