From patchwork Tue May 5 12:56:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 6337921 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 98BD09F1C2 for ; Tue, 5 May 2015 12:56:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C7BCC20270 for ; Tue, 5 May 2015 12:56:55 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id A0E7620149 for ; Tue, 5 May 2015 12:56:54 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 5C847265328; Tue, 5 May 2015 14:56:46 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id CA065265218; Tue, 5 May 2015 14:56:37 +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 A9BE0265238; Tue, 5 May 2015 14:56:36 +0200 (CEST) Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com [209.85.192.174]) by alsa0.perex.cz (Postfix) with ESMTP id 6658F265044 for ; Tue, 5 May 2015 14:56:29 +0200 (CEST) Received: by pdbqa5 with SMTP id qa5so195042877pdb.1 for ; Tue, 05 May 2015 05:56:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=pv7oOtUqKvMuP0CL15NgbmCIx/Ua7D8hHWc+SuivxvI=; b=hkzUNKDcj4WICWsZtvA3q7/gznKJtBUBuMZvxpoYe3Qr4TUQOp8ZE37ZVLdvyvgkYW DODsm4m16wL97D3nl+G3hr24QJ9BwEageWHhBSIMDKYNQ8/820PG1tWawf0jkx5R7EHF ZgzbaV95HzaY+s5UyPnIXyzoBxSmYa34NCQWja2ZXSkylSG8/3T0OFaOW9LlUGgRwl3l U7+5LyVLe8mZBRshUmXVW4YNkbMi/Ri81rB8Cb0v3gPdUjSaDdMVShGVdZwaeHzjgQN/ mM2JbYWQoukenF3WM3YGqoI/s0aUiRmTXgCVMOM1RHbmWJFtRoPbwxHOjpu0qZzSkDw7 8xgA== X-Received: by 10.70.88.170 with SMTP id bh10mr51509538pdb.62.1430830588550; Tue, 05 May 2015 05:56:28 -0700 (PDT) Received: from localhost ([216.228.120.20]) by mx.google.com with ESMTPSA id ux4sm15834881pbc.61.2015.05.05.05.56.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 May 2015 05:56:28 -0700 (PDT) From: Thierry Reding To: Takashi Iwai Date: Tue, 5 May 2015 14:56:19 +0200 Message-Id: <1430830584-3113-1-git-send-email-thierry.reding@gmail.com> X-Mailer: git-send-email 2.3.5 Cc: linux-tegra@vger.kernel.org, Alexandre Courbot , Dylan Reid , alsa-devel@alsa-project.org, Stephen Warren Subject: [alsa-devel] [PATCH 1/6] ALSA: hda/tegra - Set CORBRP self-clear flag 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 X-Virus-Scanned: ClamAV using ClamSMTP From: Thierry Reding This is set for the MCP variants of the NVIDIA HDA controller, which the Tegra variant was derived from. This fixes the following warning at boot time: [ 2.486610] tegra-hda 70030000.hda: CORB reset timeout#1, CORBRP = 0 Signed-off-by: Thierry Reding --- sound/pci/hda/hda_tegra.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/pci/hda/hda_tegra.c b/sound/pci/hda/hda_tegra.c index db0bb50fa5b9..7003677f7473 100644 --- a/sound/pci/hda/hda_tegra.c +++ b/sound/pci/hda/hda_tegra.c @@ -460,11 +460,12 @@ MODULE_DEVICE_TABLE(of, hda_tegra_match); static int hda_tegra_probe(struct platform_device *pdev) { + const unsigned int driver_flags = AZX_DCAPS_RIRB_DELAY | + AZX_DCAPS_CORBRP_SELF_CLEAR; struct snd_card *card; struct azx *chip; struct hda_tegra *hda; int err; - const unsigned int driver_flags = AZX_DCAPS_RIRB_DELAY; hda = devm_kzalloc(&pdev->dev, sizeof(*hda), GFP_KERNEL); if (!hda)