mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
d784fc8be6
Theoretically the device might gone if its reference count drops to 0.
This might be the case when we try to find the first physical node of
the ACPI device. We need to keep reference to it until we get a result
of the above mentioned call. Refactor the code to drop the reference
count at the correct place.
While at it, move to acpi_dev_put() as symmetrical call to the
acpi_dev_get_first_match_dev().
Fixes:
|
||
---|---|---|
.. | ||
acp | ||
include | ||
ps | ||
raven | ||
renoir | ||
rpl | ||
vangogh | ||
yc | ||
acp3x-rt5682-max9836.c | ||
acp-config.c | ||
acp-da7219-max98357a.c | ||
acp-es8336.c | ||
acp-pcm-dma.c | ||
acp-rt5645.c | ||
acp.h | ||
Kconfig | ||
mach-config.h | ||
Makefile |