Unverified Commit 8a0ec8c2 authored by Yang Ruibin's avatar Yang Ruibin Committed by Mark Brown
Browse files

spi: Insert the missing pci_dev_put()before return



Increase the reference count by calling pci_get_slot(), and remember to
decrement the reference count by calling pci_dev_put().

Signed-off-by: default avatarYang Ruibin <11162571@vivo.com>
Link: https://patch.msgid.link/20240829033511.1917015-1-11162571@vivo.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2fe6102b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment