ASoC: Intel: Skylake: remove call to pci_dev_put
Subsystems (3)
PATCH v3 1/1 ASoC: Intel: Skylake: remove call to pci_dev_put
The PCI bus takes pci_dev_get() and pci_dev_put() is also there. So no need for drivers to invoke these. In SKL driver we were calling pci_dev_put() only which is not right, so remove this
--- sound/soc/intel/skylake/skl.c | 1 - 1 file changed, 1 deletion(-)
sound/soc/intel/skylake/skl.c +0 -1
@@ -732,7 +732,6 @@ static void skl_remove(struct pci_dev *pci)if (pci_dev_run_wake (pci))pm_runtime_get_noresume (&pci->dev); -pci_dev_put (pci);skl_codecs_remove (ebus);skl_platform_unregister (&pci->dev);skl_free_dsp (skl);
Signature · 1 line
1.9.1
Mark Brown
maintainerQuoted 3 lines · Vinod Koul
The PCI bus takes
pci_dev_get()andpci_dev_put()is also there. So no need for drivers to invoke these. In SKL driver we were callingpci_dev_put()only which is not right, so remove this
This doesn't seem to apply against current code (I don't have the relevant SHA1s for the dependency) - can you please check and resend?
Quoted 7 lines · Mark Brown
Quoted 3 lines · Vinod Koul
The PCI bus takes
pci_dev_get()andpci_dev_put()is also there. So no need for drivers to invoke these. In SKL driver we were callingpci_dev_put()only which is not right, so remove thisThis doesn't seem to apply against current code (I don't have the relevant SHA1s for the dependency) - can you please check and resend?
Thats surprising as I amended the commit in last series and sent this one. I will re-fetch your tree and do this again.
Thanks
Signature · 1 line
~Vinod
Mark Brown
maintainerQuoted 7 lines · Vinod Koul
Quoted 2 lines · Mark Brown
This doesn't seem to apply against current code (I don't have the relevant SHA1s for the dependency) - can you please check and resend?
Thats surprising as I amended the commit in last series and sent this one. I will re-fetch your tree and do this again.
Is it depending on some -next only stuff or something?