Message ID | 20170802170930.26083-2-srinivas.kandagatla@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AFC30602BC for <patchwork-alsa-devel@patchwork.kernel.org>; Wed, 2 Aug 2017 17:10:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 944B628807 for <patchwork-alsa-devel@patchwork.kernel.org>; Wed, 2 Aug 2017 17:10:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8852B2880C; Wed, 2 Aug 2017 17:10:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E94BD28807 for <patchwork-alsa-devel@patchwork.kernel.org>; Wed, 2 Aug 2017 17:10:04 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 15F3226735E; Wed, 2 Aug 2017 19:09:51 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id CD83926735E; Wed, 2 Aug 2017 19:09:49 +0200 (CEST) Received: from mail-it0-f54.google.com (mail-it0-f54.google.com [209.85.214.54]) by alsa0.perex.cz (Postfix) with ESMTP id 59B52267359 for <alsa-devel@alsa-project.org>; Wed, 2 Aug 2017 19:09:44 +0200 (CEST) Received: by mail-it0-f54.google.com with SMTP id h199so27909619ith.1 for <alsa-devel@alsa-project.org>; Wed, 02 Aug 2017 10:09:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TR9zC317Kp7gqGfgz4u66mf0tfjnT4mjZLI3ecSmdzw=; b=BO3yYEI9ZR351lzkEIwdJMD0EKeJTezLvAl0sus4JySxln7/DaWQDwM8VmXTlbduJY R5Uw1+MS51fuQ+okoGuqjx1+dVnbPgOT37zcDyifVKMdcjzEIsC+piqogU75U0PHH253 lUy2cm04PniVNyAU0enP1/4x0DVtTPO+MewZc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=TR9zC317Kp7gqGfgz4u66mf0tfjnT4mjZLI3ecSmdzw=; b=jN6ZuMGaaM6nFHBg936vBJl+mn1AnkYh/X/rlFowJHNOZREMmTAl0BVZWLaaEuETJl eGeQ7uEQCoFrgh63UGebbJqHoXXCpu6zAd9kR84olY4dCzwyiJ6lsmhtlRSi0MC+L6le eWX/Bj6tqr6iBObphcwvObv2TA5G++vhICX6R36X/HX9rAypRnMhWGOg83/f71sBq+Bt j4tOkePOHrznciPJy5h+Mg7UtPlHS0rc1cxhO/LEpTj8wrkAidbbWOuA2qkVlC0d9pcd 52FBnSq0Xap0874Z7JuCMAGZU5gpPPfo30CRu+zlGag3epfs/V+YTnnE7wlYQYnRXrcX pwPw== X-Gm-Message-State: AIVw112wfh9Y1ZOOIhSnItfc63ljJxwVpHIB41/WxdDWL6e/E/CFmyx/ 8TLm6F0reH85UXkq X-Received: by 10.36.49.7 with SMTP id y7mr6305760ity.72.1501693784080; Wed, 02 Aug 2017 10:09:44 -0700 (PDT) Received: from localhost.localdomain (static.8.26.4.46.clients.your-server.de. [46.4.26.8]) by smtp.gmail.com with ESMTPSA id u79sm2291222ita.24.2017.08.02.10.09.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Aug 2017 10:09:43 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: Mark Brown <broonie@kernel.org>, Banajit Goswami <bgoswami@codeaurora.org>, alsa-devel@alsa-project.org Date: Wed, 2 Aug 2017 19:09:25 +0200 Message-Id: <20170802170930.26083-2-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170802170930.26083-1-srinivas.kandagatla@linaro.org> References: <20170802170930.26083-1-srinivas.kandagatla@linaro.org> Cc: damien.riegel@savoirfairelinux.com, Patrick Lai <plai@codeaurora.org>, linux-kernel@vger.kernel.org, Takashi Iwai <tiwai@suse.com>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Subject: [alsa-devel] [PATCH v2 1/6] ASoC: jack: fix snd_soc_codec_set_jack return error X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/sound/soc/soc-jack.c b/sound/soc/soc-jack.c index 7daf21f..42ca9f1 100644 --- a/sound/soc/soc-jack.c +++ b/sound/soc/soc-jack.c @@ -36,7 +36,7 @@ int snd_soc_codec_set_jack(struct snd_soc_codec *codec, if (codec->driver->set_jack) return codec->driver->set_jack(codec, jack, data); else - return -EINVAL; + return -ENOTSUPP; } EXPORT_SYMBOL_GPL(snd_soc_codec_set_jack);