* Re: [PATCH v3] ASoC: Intel: Skylake: remove call to pci_dev_put
2016-03-16 16:07 [PATCH v3] ASoC: Intel: Skylake: remove call to pci_dev_put Vinod Koul
@ 2016-03-16 16:07 ` Mark Brown
2016-03-16 16:16 ` Vinod Koul
0 siblings, 1 reply; 4+ messages in thread
From: Mark Brown @ 2016-03-16 16:07 UTC (permalink / raw)
To: Vinod Koul; +Cc: liam.r.girdwood, tiwai, alsa-devel, patches.audio
[-- Attachment #1.1: Type: text/plain, Size: 392 bytes --]
On Wed, Mar 16, 2016 at 09:37:18PM +0530, Vinod Koul wrote:
> 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
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?
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v3] ASoC: Intel: Skylake: remove call to pci_dev_put
@ 2016-03-16 16:07 Vinod Koul
2016-03-16 16:07 ` Mark Brown
0 siblings, 1 reply; 4+ messages in thread
From: Vinod Koul @ 2016-03-16 16:07 UTC (permalink / raw)
To: alsa-devel; +Cc: liam.r.girdwood, tiwai, broonie, Vinod Koul, patches.audio
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
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
---
sound/soc/intel/skylake/skl.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c
index b67f3bd0fccd..c337d06793ec 100644
--- a/sound/soc/intel/skylake/skl.c
+++ b/sound/soc/intel/skylake/skl.c
@@ -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);
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v3] ASoC: Intel: Skylake: remove call to pci_dev_put
2016-03-16 16:07 ` Mark Brown
@ 2016-03-16 16:16 ` Vinod Koul
2016-03-16 16:18 ` Mark Brown
0 siblings, 1 reply; 4+ messages in thread
From: Vinod Koul @ 2016-03-16 16:16 UTC (permalink / raw)
To: Mark Brown; +Cc: liam.r.girdwood, tiwai, alsa-devel, patches.audio
[-- Attachment #1.1: Type: text/plain, Size: 621 bytes --]
On Wed, Mar 16, 2016 at 04:07:17PM +0000, Mark Brown wrote:
> On Wed, Mar 16, 2016 at 09:37:18PM +0530, Vinod Koul wrote:
> > 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
>
> 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.
Thanks
--
~Vinod
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v3] ASoC: Intel: Skylake: remove call to pci_dev_put
2016-03-16 16:16 ` Vinod Koul
@ 2016-03-16 16:18 ` Mark Brown
0 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2016-03-16 16:18 UTC (permalink / raw)
To: Vinod Koul; +Cc: liam.r.girdwood, tiwai, alsa-devel, patches.audio
[-- Attachment #1.1: Type: text/plain, Size: 448 bytes --]
On Wed, Mar 16, 2016 at 09:46:05PM +0530, Vinod Koul wrote:
> On Wed, Mar 16, 2016 at 04:07:17PM +0000, Mark Brown wrote:
> > 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?
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-03-16 16:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-16 16:07 [PATCH v3] ASoC: Intel: Skylake: remove call to pci_dev_put Vinod Koul
2016-03-16 16:07 ` Mark Brown
2016-03-16 16:16 ` Vinod Koul
2016-03-16 16:18 ` Mark Brown
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.