Message ID | 20230221183211.21964-3-clamor95@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp161843wrd; Tue, 21 Feb 2023 10:33:33 -0800 (PST) X-Google-Smtp-Source: AK7set8R1p5r9bBe65fW9jKZoVWuVOyaLTarNRBt8xOoA3lPjgAgxGS1X4Ti/nfoIXuE6Nb7bE2r X-Received: by 2002:a17:906:3a46:b0:8af:54d2:2088 with SMTP id a6-20020a1709063a4600b008af54d22088mr13895790ejf.37.1677004413014; Tue, 21 Feb 2023 10:33:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677004412; cv=none; d=google.com; s=arc-20160816; b=pYLmWSV5FOmuHbHIix7C90TOoQ0f5bsAHsTsxirzN8HlVjcwRoz3eD92bAQjHlTvt8 HmFTJZh3sO/VzOQBVTriQyJ2sQRYKdR2mamuMZQxpxzjhAcLITQhEgtK69WEFRGDajsN XTHzPkHMJkIZQPUZpxinwyGStgr/RL1ZoVvX2c3bYCxNAnrHa+wIAxwcMurskCwE0mbP xHqDJ4mUOn6wq/WCN+S2+i2iUrFKdnhe/zBjirEy/l296nln13u8Vsvk3czR2nn7JXYi gk5pOnuGVHkd0U8UwCQzDhT5IoV3Cw++vrBrBqrrofrBUAFLIH1A65UGkGflhPynKDmM jhCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=IAXecBgeRkHu8ZmrGSEh+xC8pZ8csJk/gLQuqMv+ZEI=; b=CmXmbqYJ4O8D5gIFVcpE57LcoaOh3n39yO6H/4HHCQOEIYIxomYZyGDZ4TKJWF8D8d 5fLar0o7ddhKtuFUiKV4xEWqXTMkw3ClDaGeeVoAJcIu8vUovpGHBVeLSUWLS6K3/mPo 91+Zd4Pn1WrR3+4MgvhwfBY2gtXiYGOvUyztu7r+mmNcg12WrCMnIkoEjpuni7ewKDw8 ERfMAXNQDJE0g+0EaVpnLudnyaGTOBGhtpBGeURiPZQFitVpRGH8ewn9yn6lTZ7WJnhG RFNlLK43YDy2HksborjiuIJJXQDUEGH1BivWxX2x5Wdf1p7uokMPNOAmjxL2of1RGLZT Hl5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=n5P5sUEH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fi22-20020a1709073ad600b008dbed6ec6c2si4091384ejc.578.2023.02.21.10.33.07; Tue, 21 Feb 2023 10:33:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=n5P5sUEH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230078AbjBUScf (ORCPT <rfc822;hanasaki@gmail.com> + 99 others); Tue, 21 Feb 2023 13:32:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjBUSc3 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 21 Feb 2023 13:32:29 -0500 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0B12301B7; Tue, 21 Feb 2023 10:32:26 -0800 (PST) Received: by mail-ed1-x52b.google.com with SMTP id ee7so5924244edb.2; Tue, 21 Feb 2023 10:32:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IAXecBgeRkHu8ZmrGSEh+xC8pZ8csJk/gLQuqMv+ZEI=; b=n5P5sUEHLppfy1KRySapcmLr3VmalIXip2527iBV1pCY+xwS8ywbsnb6vBwPteurfH Ou9heSahzhfGJVOnzPjla6C+JQo2VGd0yOCOpw4k/pjtCPDEpRrjpZLdpNF66Pi1DKH9 WLP3xJQVbHYcEVJ7Wy9+73EuPBfWRbCokMg00ejhFAjQXjTyfePQrZKDmFkJzrRKuLnx e3M1VTGBwW93NFqHDNrX3XzJJqgBFJMitGzKukSDLzjuw8aKsmEHHiVsL6l5ARdcTx7Z NB5lKQ8K6GmD8sZRwzyMJ4RNTwnljCCDwYAzGsGxScbfzvJvZWnorpAYlZQpX1l6rhMw Ad/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IAXecBgeRkHu8ZmrGSEh+xC8pZ8csJk/gLQuqMv+ZEI=; b=eEMkHVnlP+9/FwLPwFDhGRd+8cARCgDM/uj+nvUEO1gBsjYg4J2ArRluwsBwWT+tGC 9M9QxZDrOXbkJ7vPytF1jx1nZIWkQ66J+spAyCW/SkvRFpKtMQU+xNksOexZvh7naf+I voF2GL14rDxoNUwKZl9hG53kavJWXlDJPmgKIiAKX2uOoAlvAoN6BPMY7KCoDi1CWFpv 0YJXkSh3dJMQmU8rsYMwlf8oPBAAOPRT4hh1ETU7uoIue4fAWFZ2o104bJdew1wcEhb5 2vqRw/uctoMe8PIScF91Duvfayow2dPbqv3VRxMkRbfvFRbtUE+kTVtmXMk9mhv0tuyh sV6g== X-Gm-Message-State: AO0yUKVDV/km3+m3obeKLZnuszjmbeZDaeFcWSeZ8soyN0E2DPUA5EGs tOAwLbpjftDZV1nFV2LdUZQ= X-Received: by 2002:aa7:ca56:0:b0:4ae:e5ab:46d7 with SMTP id j22-20020aa7ca56000000b004aee5ab46d7mr3752692edt.8.1677004345190; Tue, 21 Feb 2023 10:32:25 -0800 (PST) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id i3-20020a50c3c3000000b004af5aa16fcasm169102edf.66.2023.02.21.10.32.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 10:32:24 -0800 (PST) From: Svyatoslav Ryhel <clamor95@gmail.com> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, Svyatoslav Ryhel <clamor95@gmail.com>, Maxim Schwalm <maxim.schwalm@gmail.com>, Dmitry Osipenko <digetx@gmail.com> Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, linux-tegra@vger.kernel.org, linux-staging@lists.linux.dev Subject: [PATCH v1 02/10] sound: soc: jack: allow multiple interrupt per gpio Date: Tue, 21 Feb 2023 20:32:03 +0200 Message-Id: <20230221183211.21964-3-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230221183211.21964-1-clamor95@gmail.com> References: <20230221183211.21964-1-clamor95@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758466579431713782?= X-GMAIL-MSGID: =?utf-8?q?1758466579431713782?= |
Series |
Fix sound on ASUS Transformers
|
|
Commit Message
Svyatoslav Ryhel
Feb. 21, 2023, 6:32 p.m. UTC
This feature is required for coupled hp-mic quirk used
by some Nvidia Tegra 3 based devices work properly.
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
---
sound/soc/soc-jack.c | 1 +
1 file changed, 1 insertion(+)
Comments
On Tue, Feb 21, 2023 at 08:32:03PM +0200, Svyatoslav Ryhel wrote: > This feature is required for coupled hp-mic quirk used > by some Nvidia Tegra 3 based devices work properly. Please submit this separately, there's no meaningful dependency on the rest of the series. Please submit patches using subject lines reflecting the style for the subsystem, this makes it easier for people to identify relevant patches. Look at what existing commits in the area you're changing are doing and make sure your subject lines visually resemble what they're doing. There's no need to resubmit to fix this alone.
ср, 22 лют. 2023 р. о 00:08 Mark Brown <broonie@kernel.org> пише: > > On Tue, Feb 21, 2023 at 08:32:03PM +0200, Svyatoslav Ryhel wrote: > > This feature is required for coupled hp-mic quirk used > > by some Nvidia Tegra 3 based devices work properly. > > Please submit this separately, there's no meaningful dependency > on the rest of the series. RT5631 by machine driver commit contains a coupled hp-mic quirk which requires this commit to work properly. In v2 RT5631 machine driver bringup and coupled hp-mic quirk may be split into separate commits. > Please submit patches using subject lines reflecting the style for the > subsystem, this makes it easier for people to identify relevant patches. > Look at what existing commits in the area you're changing are doing and > make sure your subject lines visually resemble what they're doing. > There's no need to resubmit to fix this alone.
On Wed, Feb 22, 2023 at 09:53:28AM +0200, Svyatoslav Ryhel wrote: > ср, 22 лют. 2023 р. о 00:08 Mark Brown <broonie@kernel.org> пише: > > On Tue, Feb 21, 2023 at 08:32:03PM +0200, Svyatoslav Ryhel wrote: > > > This feature is required for coupled hp-mic quirk used > > > by some Nvidia Tegra 3 based devices work properly. > > Please submit this separately, there's no meaningful dependency > > on the rest of the series. > RT5631 by machine driver commit contains a coupled hp-mic quirk which > requires this commit to work properly. In v2 RT5631 machine driver bringup > and coupled hp-mic quirk may be split into separate commits. This is needed to get the machine driver to work at runtime but that doesn't block getting this merged, and there's no build time dependency in the other direction either.
diff --git a/sound/soc/soc-jack.c b/sound/soc/soc-jack.c index fcece5ca38c6..f951acb2ce36 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,