msm: ipa: Trigger ipa_exit_callback
Trigger ipa_exit_callback on deep sleep mode entry for USB to clean up and post quick boot, USB GSI driver can wait for ready callback again from IPA. Change-Id: Ic14aaff484a52de110e4f46ee6f90dbabd7fc616 Signed-off-by: Srinivas Sai Mannam <quic_srinmann@quicinc.com>
This commit is contained in:

committed by
Pavan Kumar M

父節點
0d984ecd5e
當前提交
22e343587c
@@ -1,6 +1,8 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/mutex.h>
|
||||
@@ -2772,6 +2774,9 @@ void ipa3_usb_exit(void)
|
||||
*/
|
||||
ipa3_deregister_client_callback(IPA_CLIENT_USB_PROD);
|
||||
|
||||
#if IS_ENABLED(CONFIG_DEEPSLEEP)
|
||||
ipa_exit_callback();
|
||||
#endif
|
||||
ipa_usb_debugfs_remove();
|
||||
kfree(ipa3_usb_ctx);
|
||||
}
|
||||
|
Reference in New Issue
Block a user