cnss2: Skip any adsp operation if DRV not supported
At the auto platform, DRV feature is not applicable. So do not issue any DRV related operation from cnss2 side, which may cause the RC PHY not ready in the LPM case. Change-Id: Iefae9a885c1adc289da518d65a2974e127bdf359 CRs-Fixed: 3419811
Cette révision appartient à :

révisé par
Madan Koyyalamudi

Parent
597155d64e
révision
74ebfcdb0a
@@ -6359,7 +6359,7 @@ static int cnss_pci_register_mhi(struct cnss_pci_data *pci_priv)
|
||||
}
|
||||
|
||||
/* MHI satellite driver only needs to connect when DRV is supported */
|
||||
if (cnss_pci_is_drv_supported(pci_priv))
|
||||
if (cnss_pci_get_drv_supported(pci_priv))
|
||||
cnss_mhi_controller_set_base(pci_priv, bar_start);
|
||||
|
||||
/* BW scale CB needs to be set after registering MHI per requirement */
|
||||
@@ -6748,6 +6748,9 @@ static int cnss_pci_probe(struct pci_dev *pci_dev,
|
||||
if (ret)
|
||||
goto unregister_ramdump;
|
||||
|
||||
/* update drv support flag */
|
||||
cnss_pci_update_drv_supported(pci_priv);
|
||||
|
||||
ret = cnss_reg_pci_event(pci_priv);
|
||||
if (ret) {
|
||||
cnss_pr_err("Failed to register PCI event, err = %d\n", ret);
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur