[alsa-devel] [PATCH v2 6/6] ASoC: Intel: Skylake: remove call to pci_dev_put

Mark Brown broonie at kernel.org
Wed Mar 16 12:03:10 CET 2016


On Wed, Mar 16, 2016 at 04:22:44PM +0530, Vinod Koul wrote:
> On Wed, Mar 16, 2016 at 10:08:29AM +0000, Mark Brown wrote:

> > Why is the fix for this not to call pci_dev_get()?

> Why do I need either, I see no reason why driver should be doing this,
> so removed :)

Well, the PCI documentation says that drivers are expected to record a
reference to their devices in probe().  This is a bit unusual given that
normally the driver core takes a reference to the device for us but
presumably there's some reason for this?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20160316/338670fa/attachment.sig>


More information about the Alsa-devel mailing list