From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1EF52C77B7F for ; Sun, 7 May 2023 00:40:30 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id DFDB520F9; Sun, 7 May 2023 02:39:37 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz DFDB520F9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1683420028; bh=wkOvBaDB8uDvVIrKbehdOHaMHnSWhQwInEmeovK/q1A=; h=From:To:Subject:Date:CC:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=UObgDxJ1diCeFIOs2QO24nrFQ4ctbxCPaVmmI6650t7XOUBplvxLnMRhGGYDrz+tn ycr/zvI9sRXLzstPM0vKGtM8WVrggwHZW4tUTWVUH0d+LGvcYmDnoP/NrBlxuCB8uP mrBGV8qoacC00t3ypEaed0f35iHDkCVehtGHP3Ps= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 55B4BF8053B; Sun, 7 May 2023 02:38:47 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id BE8D9F80542; Sun, 7 May 2023 02:37:10 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 0FB13F8052E for ; Sun, 7 May 2023 02:37:09 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0FB13F8052E Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=Lj/yRLDc Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EBD336149D; Sun, 7 May 2023 00:37:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 455BEC433EF; Sun, 7 May 2023 00:37:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683419827; bh=wkOvBaDB8uDvVIrKbehdOHaMHnSWhQwInEmeovK/q1A=; h=From:To:Cc:Subject:Date:From; b=Lj/yRLDcQ8bOTyeB+/sNxmloz7AZVRORU2RNaLI6doxMyAgZ5sXw/u6t0XFmHrayz 7YBrXb8UvQ65tQcJNJyhx8oPjCcYLaCxvG5G+pi/1GGCLyricB6/hmxrhsNr6nj5Ya wMRqKgcGM06qlqmXuoKiGu6kJWECAyYFwBDBXK6aPfIe1Qz+hW82Da2x1hWDUfRKrT ZjZd7JHWq8hdEziN1pCzzQ/6nll5eoNvfoDlsUJifuMB8uIRplgXsbGEm56QfHPQQE q3qe5y/r/WrTK3XH/gAa1luzk4zBnaiDtG4N2gBRXuUrWy2fD7ITye0UePWxyhkQix 6lxPKLQoJHJRQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH AUTOSEL 4.14 1/8] ASoC: jack: allow multiple interrupt per gpio Date: Sat, 6 May 2023 20:36:56 -0400 Message-Id: <20230507003704.4081392-1-sashal@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Message-ID-Hash: 2CJRTO3DODZQYBOTHN6ROWW2WZMG4CR2 X-Message-ID-Hash: 2CJRTO3DODZQYBOTHN6ROWW2WZMG4CR2 X-MailFrom: sashal@kernel.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Svyatoslav Ryhel , Mark Brown , Sasha Levin , lgirdwood@gmail.com, tiwai@suse.com, alsa-devel@alsa-project.org X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Svyatoslav Ryhel [ Upstream commit a2d4051b0bd6dffcd736888ae89a550d6f60b060 ] This feature is required for coupled hp-mic quirk used by some Nvidia Tegra 3 based devices work properly. Signed-off-by: Svyatoslav Ryhel Link: https://lore.kernel.org/r/20230221183211.21964-3-clamor95@gmail.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/soc-jack.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/soc-jack.c b/sound/soc/soc-jack.c index b04ecc633da36..f04a6eb8eecc8 100644 --- a/sound/soc/soc-jack.c +++ b/sound/soc/soc-jack.c @@ -451,6 +451,7 @@ int snd_soc_jack_add_gpios(struct snd_soc_jack *jack, int count, ret = request_any_context_irq(gpiod_to_irq(gpios[i].desc), gpio_handler, + IRQF_SHARED | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING, gpios[i].name, -- 2.39.2