mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
qcacld-3.0: Add support for host initiated recovery for QCA6290
Add the interface that host driver can trigger FW assert and do recovery for QCA6290. Change-Id: I03a9c374fd2ddc5cc46b9b0a98ce05bcf80a53ec CRs-fixed: 2068035
This commit is contained in:
parent
d0ca44133d
commit
63d360abdc
2 changed files with 10 additions and 3 deletions
|
|
@ -1545,8 +1545,9 @@ int pld_force_assert_target(struct device *dev)
|
|||
case PLD_BUS_TYPE_SNOC:
|
||||
ret = pld_snoc_force_assert_target(dev);
|
||||
break;
|
||||
|
||||
case PLD_BUS_TYPE_PCIE:
|
||||
ret = pld_pcie_force_assert_target(dev);
|
||||
break;
|
||||
case PLD_BUS_TYPE_SDIO:
|
||||
ret = -EINVAL;
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -238,7 +238,10 @@ static inline int pld_pcie_power_off(struct device *dev)
|
|||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline int pld_pcie_force_assert_target(struct device *dev)
|
||||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
static inline uint8_t *pld_pcie_get_wlan_mac_address(struct device *dev,
|
||||
uint32_t *num)
|
||||
{
|
||||
|
|
@ -356,7 +359,10 @@ static inline int pld_pcie_power_off(struct device *dev)
|
|||
{
|
||||
return cnss_power_down(dev);
|
||||
}
|
||||
|
||||
static inline int pld_pcie_force_assert_target(struct device *dev)
|
||||
{
|
||||
return cnss_force_fw_assert(dev);
|
||||
}
|
||||
static inline uint8_t *pld_pcie_get_wlan_mac_address(struct device *dev,
|
||||
uint32_t *num)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue