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 0E348C77B75 for ; Sun, 7 May 2023 00:37:42 +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 1724A1FA4; Sun, 7 May 2023 02:36:50 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1724A1FA4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1683419860; bh=5CQOot99bgT3aKqeqRjlHZKZa9QDb3C9aFcoUOjABQI=; h=From:To:Subject:Date:CC:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=WhSuioD+joUshQfPFRl7e/mm7K7X65FXmhUAQglkQv/goTIEyfVV6+Fa4caDosz+m WAgs9icCd1/9fNpwVxs+Jskrs9CX3GhEvxWo36XnrwKbKY7Ikleo4DlOSm3p0Y3dnT QUxGc9r96SKFWUit+YcsWr9dx4yP2XPgbN4fZPM0= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 28465F8053B; Sun, 7 May 2023 02:35:55 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C7A3BF8053B; Sun, 7 May 2023 02:35:51 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 31987F804B1 for ; Sun, 7 May 2023 02:35:50 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 31987F804B1 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=pmP+K+Zl 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 22FD561546; Sun, 7 May 2023 00:35:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A23B3C433EF; Sun, 7 May 2023 00:35:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683419748; bh=5CQOot99bgT3aKqeqRjlHZKZa9QDb3C9aFcoUOjABQI=; h=From:To:Cc:Subject:Date:From; b=pmP+K+Zl2zSQa8N3v/YOa3Ez9iuO5V640bQTg+542dgj/tVczU+yYD8PvQJt93qbO 7BeHMLckEWavAeeLT1EzRDxS/agA7y0wPzYIdPLCxPdt4gJa85IXRbV2Hg1MnwZRbQ yJ1ryX2kJgQXyv1Pr8GzzwdvkVFkK50zS+nDcaaEw72I474ALTEb09ztLCRmf6GcOI ywFnLST/flrNIm7/S9UeYVvzqhkVSw8MF6An5k/gFGHngLqpbWUQnIvyQcDwQ7u1q/ iD2I5sX3GlTos6Va6FBttzWZ9LWe1UBW06QjXmANZgtlhqaYfeL/0URIVExCJPl3SL llAG0xc0Tyn9w== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH AUTOSEL 5.10 1/9] ASoC: jack: allow multiple interrupt per gpio Date: Sat, 6 May 2023 20:35:37 -0400 Message-Id: <20230507003545.4078941-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: E47AI4LZ5QE3EUKIJNLE5UO43ETBZNFL X-Message-ID-Hash: E47AI4LZ5QE3EUKIJNLE5UO43ETBZNFL 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 0f1820f36b4d7..80ea4408e6ad6 100644 --- a/sound/soc/soc-jack.c +++ b/sound/soc/soc-jack.c @@ -368,6 +368,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