From patchwork Tue Jun 13 21:08:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 105428 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp605404qgd; Tue, 13 Jun 2017 14:13:00 -0700 (PDT) X-Received: by 10.28.199.137 with SMTP id x131mr12784959wmf.71.1497388380001; Tue, 13 Jun 2017 14:13:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497388379; cv=none; d=google.com; s=arc-20160816; b=qQ2relqQH0ggOYX0/EX35OBRltDULEGS3NjEZaZszvJJAhknF398xfkDimgTpbvRBZ +756MeNqtjrYzL51b6ynBMDQVe0GcQmQaaWNHo2ORmIMmxpXh5gBRkQb7O2FbJlisFg/ CltRK60WTPCr6ZZ2PrHRmeZEsOAJf7N435Y0xF6uMZTpO3pytSZ9203a0h+uQFkHcNfG LedK4bJnw/zZU/UPx5lppF8hMKw1OXCXrRHppsjvRtW8HP8eOh3aC+krzV5Cwv2XNEpZ XnmyxbZB62sGjcUqcT6ZwZ0WZk8zlNYTr/yaC53jRYgBwJxRoErCXo8dBF8F/vvHtkA9 kMGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :delivered-to:arc-authentication-results; bh=yA8wLPS20P0MjqvL3ZOOLdUGGXNMxX0xs1bGiL6MMdU=; b=eF1KrdEeXkQZpoLGO4m4K9yD/2QzjwMv7x1NJiw4ONUG6OBBsav/nGV91Si+NlsNp5 gxPp5eQJ3Fr2aN+MwxalgP/BwNmol8E/z52RVJCOKAHLU4sXrH5hxJMCddcW1GwaYSkK GO1eb/KXEL8SaJUCZqEOk6/VpNqr1VZ0lyVPWq768Ou5TBj/3YaRE0QFxrbzmmi2MiJL CGrxjPNXzO+sSxOKKehFInpc8vMLEV71HTdoP0ZlESTlJm+lQ6qOtIoXf/ZpM7t//qWl I6kSbrnq0Y/Yr2ttdaV3c0/Xh5UltSn2kD9Tlts/YAo7xuUfmC+RoYEqZQyYsW+1x5fY 3kzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id 94si1048185wrl.317.2017.06.13.14.12.59; Tue, 13 Jun 2017 14:12:59 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id C45212670D5; Tue, 13 Jun 2017 23:09:42 +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 BEDA22671BE; Tue, 13 Jun 2017 23:09:41 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, SPF_PASS, T_RP_MATCHES_RCVD autolearn=disabled version=3.4.0 Received: from mezzanine.sirena.org.uk (mezzanine.sirena.org.uk [106.187.55.193]) by alsa0.perex.cz (Postfix) with ESMTP id 4DE50267048 for ; Tue, 13 Jun 2017 23:08:50 +0200 (CEST) Received: from [2001:470:1f1d:6b5::3] (helo=debutante) by mezzanine.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1dKt3M-00072A-Ow; Tue, 13 Jun 2017 21:08:45 +0000 Received: from broonie by debutante with local (Exim 4.89) (envelope-from ) id 1dKt3K-0000Y9-BV; Tue, 13 Jun 2017 22:08:42 +0100 From: Mark Brown To: Oder Chiou In-Reply-To: <1497236537-1013-1-git-send-email-oder_chiou@realtek.com> Message-Id: Date: Tue, 13 Jun 2017 22:08:42 +0100 X-SA-Exim-Connect-IP: 2001:470:1f1d:6b5::3 X-SA-Exim-Mail-From: broonie@sirena.org.uk X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Cc: jack.yu@realtek.com, alsa-devel@alsa-project.org, hychao@google.com, lgirdwood@gmail.com, albertchen@realtek.com, broonie@kernel.org, shumingf@realtek.com, bardliao@realtek.com, flove@realtek.com Subject: [alsa-devel] Applied "ASoC: rt5663: Check the JD status in the resume function" to the asoc tree 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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: rt5663: Check the JD status in the resume function has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark >From 17616ce62c84c94e9519574e9d2df6f20e80a285 Mon Sep 17 00:00:00 2001 From: Oder Chiou Date: Mon, 12 Jun 2017 11:02:17 +0800 Subject: [PATCH] ASoC: rt5663: Check the JD status in the resume function In the suspend, the IRQ function will not work in some machines. So the JD status should be checked in the resume function. Signed-off-by: Oder Chiou Signed-off-by: Mark Brown --- sound/soc/codecs/rt5663.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.11.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/codecs/rt5663.c b/sound/soc/codecs/rt5663.c index 8569e8c7d894..a33202affeb1 100644 --- a/sound/soc/codecs/rt5663.c +++ b/sound/soc/codecs/rt5663.c @@ -2847,6 +2847,8 @@ static int rt5663_resume(struct snd_soc_codec *codec) regcache_cache_only(rt5663->regmap, false); regcache_sync(rt5663->regmap); + rt5663_irq(0, rt5663); + return 0; } #else