diff options
| author | Takashi Iwai <tiwai@suse.de> | 2026-04-02 09:08:03 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-04-02 09:08:03 +0200 |
| commit | b477ab8893c3e6b4be3074358db830687de7bfff (patch) | |
| tree | 44d132561eb33087ec533affa648ac0cfaffe326 /drivers/pci/pwrctrl/core.c | |
| parent | a0dafdbd1049a8ea661a1a471be1b840bd8aed13 (diff) | |
| parent | e74c38ef6f170179c0029b5744d6a14dfd543108 (diff) | |
Merge tag 'asoc-fix-v7.0-rc6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v7.0
Another smallish batch of fixes and quirks, these days it's AMD that is
getting all the DMI entries added. We've got one core fix for a missing
list initialisation with auxiliary devices, otherwise it's all fairly
small things.
Diffstat (limited to 'drivers/pci/pwrctrl/core.c')
| -rw-r--r-- | drivers/pci/pwrctrl/core.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/pci/pwrctrl/core.c b/drivers/pci/pwrctrl/core.c index 7754baed67f2..97cff5b8ca88 100644 --- a/drivers/pci/pwrctrl/core.c +++ b/drivers/pci/pwrctrl/core.c @@ -299,8 +299,10 @@ static bool pci_pwrctrl_is_required(struct device_node *np) struct device_node *remote __free(device_node) = of_graph_get_remote_port_parent(endpoint); if (remote) { - if (of_pci_supply_present(remote)) + if (of_pci_supply_present(remote)) { + of_node_put(endpoint); return true; + } } } } |
