From 05e59e5fb0064c97a1c10921ecd549f2d4a58565 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Wed, 09 Oct 2024 06:14:40 +0000 Subject: [PATCH] add REDIRECT --- kernel/sound/aoa/core/gpio-feature.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sound/aoa/core/gpio-feature.c b/kernel/sound/aoa/core/gpio-feature.c index 6555742..39bb409 100644 --- a/kernel/sound/aoa/core/gpio-feature.c +++ b/kernel/sound/aoa/core/gpio-feature.c @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Apple Onboard Audio feature call GPIO control * * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> - * - * GPL v2, can be found in COPYING. * * This file contains the GPIO control routines for * direct (through feature calls) access to the GPIO @@ -82,6 +81,7 @@ if (altname && (strcmp(audio_gpio, altname) == 0)) break; } + of_node_put(gpio); /* still not found, assume not there */ if (!np) return NULL; -- Gitblit v1.6.2