mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacld-3.0: correct return value for pld_pcie_get_user_msi_assignment
Without CNSS module, function pld_pcie_get_user_msi_assignment return zero even no msi config. For caller function pld_get_user_msi_assignment, zero means TRUE. It will result to panic when deinit sequence called in function hif_ce_srng_msi_free_irq. Return correcly value to avoid panic. Change-Id: Id4480ef1db5357943162472963c4e78d7bfe64b8 CRs-Fixed: 2373130
This commit is contained in:
parent
246f7db4b3
commit
781f1b56c9
1 changed files with 1 additions and 1 deletions
|
|
@ -278,7 +278,7 @@ static inline int pld_pcie_get_user_msi_assignment(struct device *dev,
|
|||
uint32_t *user_base_data,
|
||||
uint32_t *base_vector)
|
||||
{
|
||||
return 0;
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
static inline int pld_pcie_get_msi_irq(struct device *dev, unsigned int vector)
|
||||
|
|
|
|||
Loading…
Reference in a new issue