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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D3625C77B75 for ; Sun, 7 May 2023 00:30:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230118AbjEGAa3 (ORCPT ); Sat, 6 May 2023 20:30:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbjEGAa2 (ORCPT ); Sat, 6 May 2023 20:30:28 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49D7E3C0F; Sat, 6 May 2023 17:30:27 -0700 (PDT) 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 D0453611B6; Sun, 7 May 2023 00:30:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34F32C433D2; Sun, 7 May 2023 00:30:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683419426; bh=Gi/XeeeFJGaxdykTW9TYbF0cQECHu1dUcrdCmjj4qbA=; h=From:To:Cc:Subject:Date:From; b=KUw0hvhH3QF0pFpUm20Soa/9FVUWSDNmjIa8j7DvOnmnINMsgrsenv1li57a67dtw yEWJkhi+V11zBKMoAbkWk+2jDzlDbmMWRwNj1lmRTDHPsa97WP9mqTaamFjLWe7Rhd 69fcJ3EGj6yGSEzZgRs3rdIBEMmZnodA84YVkJiPOUcsAIvlnLhbSAFJpiYNzdsCRu moIdVyF4QHw2yWZLUp5W9sQZauqwU7RyrB95AP1OiLib9EO1QPc3fYWypUkR2brcui V3DauSfFnDOjOlJpSMsRqV8na3CnUw3LF1P1kWGQ9h1sUIgaDKoVQpCQXvut17DO3g EAdKuSVd2k7Og== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Svyatoslav Ryhel , Mark Brown , Sasha Levin , lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org Subject: [PATCH AUTOSEL 6.3 01/24] ASoC: jack: allow multiple interrupt per gpio Date: Sat, 6 May 2023 20:29:57 -0400 Message-Id: <20230507003022.4070535-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 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org 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 fcece5ca38c69..f951acb2ce362 100644 --- a/sound/soc/soc-jack.c +++ b/sound/soc/soc-jack.c @@ -367,6 +367,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