Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4701014pxt; Wed, 11 Aug 2021 11:59:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKX3s5f85rpPywd2QFQ5+2ZefAWpBi/2MZZ7wqHJXy+OoAVjh+ThgeDorHAguJJRsqMKCy X-Received: by 2002:a05:6e02:d09:: with SMTP id g9mr152081ilj.153.1628708364812; Wed, 11 Aug 2021 11:59:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628708364; cv=none; d=google.com; s=arc-20160816; b=i1aGu6l1GqsQ6Y2ZAKXGbnEdupidgxJma9v/e2iYW2xt1lLctVT02vIPI6mssa45R9 Oq5kHMuA/MwJZMcFm6shloJQHjrPcOIZDJp1BYPlVTrokDPnBRpH3CwCo8TDjYaBG+qw H0Rem7QumbGeuNI2s20w3MVlkwxSEBjwhZSxeJ/Ydy3d/xsJWDK3nHpSx/f9RHAOBvAt ++vFpkM9n/gWedVllXDt6gExZbP25TfrWhik3U3gab+N1aEPCgM7o1M9/tornqeNFFS3 tIHWmOc4Z2SOXC3BCkm8I/cIqAahilBUtyz1XRj5EC7Lt6FubWMQS8mMjZlK+iS758Xd piLQ== 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=EunPywrzAvF4/me5+JOezCiqcBDY0+rL47SNNtK71F0=; b=dDATASZiywR//ljrhIHZIIbmuoLjLW2uI6dSuMCqgv89enwKXLdjr0o6SMMShqUsEc rTVxYZlexakYltUxbUBQPyxruZ8Boz/uw59IPG9sMo0JocjgoHkTGwYP+iosQYDoj1Zc x38CoyF8dvXaJOp9A4IdYAAHXjAgQJ61WxBXoeYHGV6t7fPSAWr9OtYZ2/jh5Pv+fEix oz1beSp5MoxEH8vg+1xLxqr0aCZdMpsyvTUlJKUj4FIcys+OGUx0CYNBFmaM+SxtAz2c lDBw5reXtwM59L+t6+n1OIjjn3gENww0Sro1ABKZcV7qpIzIH+6Q4B32wsakUqML6hYc wVxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=fqJ3YtK5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y5si66752ion.91.2021.08.11.11.58.48; Wed, 11 Aug 2021 11:59:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=fqJ3YtK5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230391AbhHKS6H (ORCPT + 99 others); Wed, 11 Aug 2021 14:58:07 -0400 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:39298 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229991AbhHKS6G (ORCPT ); Wed, 11 Aug 2021 14:58:06 -0400 Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 17B9h6hM011884; Wed, 11 Aug 2021 13:57:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=PODMain02222019; bh=EunPywrzAvF4/me5+JOezCiqcBDY0+rL47SNNtK71F0=; b=fqJ3YtK5C3AiVs3twP0sHG9RweLDRyFi9uy/FbbTnyoofeq6ISRhnfP1COQVEEbs07nk bO7y3jXDJj4EMCMCYtmdDiOzN9CUtYmZugxTEMFESywmtWzgtAIKb41e5LZCbF9eLI0J 8Ar/FxNnpqnJsnJZqw4E9sd/P/wqnFuwnX5x+zJprV62UCpXsEmw9ikLcJrFlcea0kuc PeVfVrQ2KJ4TeXc/aa1Mhq2dkGJSq0Yo52FWVQmi2SBFzFX7h9YwhIxIuec+b1uSIObo UqY8OPZj8FHvGXhOBVHU5r55Khj7s/FyUQfLLZGzYTIL0GiD2TbhyS0KAcW7v7UzgI9X ag== Received: from ediex02.ad.cirrus.com ([87.246.76.36]) by mx0b-001ae601.pphosted.com with ESMTP id 3acc5ngnt3-5 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Wed, 11 Aug 2021 13:57:30 -0500 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 11 Aug 2021 19:57:27 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.2242.12 via Frontend Transport; Wed, 11 Aug 2021 19:57:27 +0100 Received: from vitaly-Inspiron-5415.ad.cirrus.com (unknown [198.90.238.180]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id A6E3A2A9; Wed, 11 Aug 2021 18:57:27 +0000 (UTC) From: Vitaly Rodionov To: Jaroslav Kysela , Takashi Iwai CC: , , , Lucas Tanure Subject: [PATCH v4 08/27] ALSA: hda/cs8409: Disable unsolicited response for the first boot Date: Wed, 11 Aug 2021 19:56:35 +0100 Message-ID: <20210811185654.6837-9-vitalyr@opensource.cirrus.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210811185654.6837-1-vitalyr@opensource.cirrus.com> References: <20210811185654.6837-1-vitalyr@opensource.cirrus.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: Low893gcCJS4W4RG15mbVofCnDTJDncP X-Proofpoint-GUID: Low893gcCJS4W4RG15mbVofCnDTJDncP X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 bulkscore=0 phishscore=0 clxscore=1015 priorityscore=1501 suspectscore=0 impostorscore=0 malwarescore=0 adultscore=0 mlxlogscore=999 mlxscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2107140000 definitions=main-2108110130 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lucas Tanure The subsequence suspend and remuse have their enable/disable unsolicited responses at the correct place already Signed-off-by: Lucas Tanure Signed-off-by: Vitaly Rodionov --- Changes in v2: - No changes Changes in v3: - No changes Changes in v4: - No changes sound/pci/hda/patch_cs8409.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sound/pci/hda/patch_cs8409.c b/sound/pci/hda/patch_cs8409.c index 4906d2913603..2ed07ab3f47e 100644 --- a/sound/pci/hda/patch_cs8409.c +++ b/sound/pci/hda/patch_cs8409.c @@ -621,9 +621,6 @@ static void cs8409_cs42l42_hw_init(struct hda_codec *codec) for (; seq_bullseye->nid; seq_bullseye++) cs8409_vendor_coef_set(codec, seq_bullseye->cir, seq_bullseye->coeff); - /* Disable Unsolicited Response during boot */ - cs8409_enable_ur(codec, 0); - /* Reset CS42L42 */ cs8409_cs42l42_reset(codec); @@ -795,6 +792,8 @@ void cs8409_cs42l42_fixups(struct hda_codec *codec, const struct hda_fixup *fix, HDA_INPUT, 0, 0xff, 0x19); snd_hda_gen_add_kctl(&spec->gen, NULL, &cs8409_cs42l42_hp_volume_mixer); snd_hda_gen_add_kctl(&spec->gen, NULL, &cs8409_cs42l42_amic_volume_mixer); + /* Disable Unsolicited Response during boot */ + cs8409_enable_ur(codec, 0); cs8409_cs42l42_hw_init(codec); snd_hda_codec_set_name(codec, "CS8409/CS42L42"); break; -- 2.25.1