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 <skarat@qti.qualcomm.com>
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
This commit is contained in:
Bojun Pan 2020-11-12 00:50:43 -08:00 • committed by Gerrit - the friendly Code Review server
commit 11e37b96ae

View file

@ -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;
}