qcacmn: Check if FW or host in recovery before invoking assert
Force wake request is sent before register write. If this req fails check if FW is down or host is in recovery before asserting. Change-Id: I6d31b1f95b68ae4e462f59ed32ed933de55cacae CRs-Fixed: 2601364
This commit is contained in:

gecommit door
nshrivas

bovenliggende
21ade1514e
commit
4d77312b6d
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2018-2020 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -219,5 +219,13 @@ bool qdf_is_drv_connected(void);
|
||||
void qdf_register_drv_connected_callback(qdf_is_drv_connected_callback
|
||||
is_drv_connected);
|
||||
|
||||
/**
|
||||
* qdf_check_state_before_panic() - API to check if FW is down
|
||||
* or driver is in recovery before calling assert
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void qdf_check_state_before_panic(void);
|
||||
|
||||
#endif /*_QDF_PLATFORM_H*/
|
||||
|
||||
|
Verwijs in nieuw issue
Block a user