Skip to content
Unverified Commit 4d986ffa authored by Wang Qing's avatar Wang Qing Committed by Mark Brown
Browse files

spi: add missing pci_dev_put() before return



pci_get_slot() increases its reference count, the caller must
decrement the reference count by calling pci_dev_put()

Signed-off-by: default avatarWang Qing <wangqing@vivo.com>
Link: https://lore.kernel.org/r/1644890407-65167-1-git-send-email-wangqing@vivo.com
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1847e304
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment