From 11e37b96aec3e0805076a3b6dba60c6ca919b2ac Mon Sep 17 00:00:00 2001 From: Bojun Pan Date: Thu, 12 Nov 2020 00:50:43 -0800 Subject: [PATCH] Closing the HAB socket correctly in unmount scenarios This change is required for the VM restart mechanism where the unclosed HAB socket will block the reboot of the GVM. Change-Id: I4c84e65d981bc1bb09e943dc6985217d3407e9ab Acked-by: Sriragh Karat Signed-off-by: Bojun Pan --- drivers/platform/msm/veth_ipa/veth_ipa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/msm/veth_ipa/veth_ipa.c b/drivers/platform/msm/veth_ipa/veth_ipa.c index 052ab0d06ed6..33f6f879b9df 100644 --- a/drivers/platform/msm/veth_ipa/veth_ipa.c +++ b/drivers/platform/msm/veth_ipa/veth_ipa.c @@ -2262,7 +2262,7 @@ static int veth_ipa_remove(struct platform_device *pdev) pr_err("%s: failed\n"); return ret; } - + habmm_socket_close(pdata->veth_emac_mem.vc_id); veth_ipa_cleanup(pdata); return 0; }