From patchwork Fri Mar 1 16:01:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Binding X-Patchwork-Id: 13578646 Received: from mx0b-001ae601.pphosted.com (mx0a-001ae601.pphosted.com [67.231.149.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8FEEE71B30; Fri, 1 Mar 2024 16:02:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=67.231.149.25 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709308966; cv=none; b=WvvKWhP+uclIjM1k5odl2RkeNKf1lyiO4q3Hi8Jn5fH5JgOZapX9jiQbusfOwDwPcjDeMdk3jinG/jWoWUAuWmu6InfsjN/P0VZOrsIUqhgQ77ZReSH9iN3l0JYoL9n08bnpLc5V9jSkuIUgrFO+oiC3WvJqGcwq/Pl42eswwUM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709308966; c=relaxed/simple; bh=fH/O3nTPLokLlfy0WR4wG8EDpg7fXKPlNuS++rhMJQI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=i/y3/qp94Oy7dDNVtp+5oJmsdVbZQk5Z9PQsOhFeU+zLfw/KHkin9iXt5tt0t7dGEKIXJ/bRhB60hAbiz7fUNhqgPXH3SyXwrkgn/hj3o/XZFMb1+4CoBeqRgXBj/yjUnqDZN08A/0vZNFRCC8yNHoPuGYNxs0hXMgrhYszNyL0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=opensource.cirrus.com; spf=pass smtp.mailfrom=opensource.cirrus.com; dkim=pass (2048-bit key) header.d=cirrus.com header.i=@cirrus.com header.b=oTQIPW3U; arc=none smtp.client-ip=67.231.149.25 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=opensource.cirrus.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=opensource.cirrus.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cirrus.com header.i=@cirrus.com header.b="oTQIPW3U" Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 421Ewl9O003471; Fri, 1 Mar 2024 10:02:18 -0600 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=NpUQHGhUFnK3X1g/dFL1BJRaNu6gls0f1yI+Tqohrqk=; b= oTQIPW3UMnOgfq8X1LMhMq/z38B9WiN3vMgpvD4To0LUC2ETxW5zQCRCbruXDCOG sJZzxYV5t50L9mic24RLHPzL6oi3qJWGuva65YQJLrVsaXSBVNf0BGrcRR3iVkex CQWpkN+BDG/z2LqnkvK0aof1uyujEQtk+F9FtKCLATWydQELtB+xdaQlitRDG2Mk OLYqjAT+8PCYFKe+HMrBTWO/tXOUPxgGg95rK00fSBx0pnMvhh+ypmpw/eUvmS9g nJQlfkOCLZowitNESKTlhXzO/fV+WH0wPXDkKViHAuXpNlaZ331PHdrCtXaYyPEu HvRzFdwCUklZ5HnS8F/4Cg== Received: from ediex01.ad.cirrus.com ([84.19.233.68]) by mx0a-001ae601.pphosted.com (PPS) with ESMTPS id 3wkh8r02na-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 01 Mar 2024 10:02:17 -0600 (CST) Received: from ediex02.ad.cirrus.com (198.61.84.81) by ediex01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Fri, 1 Mar 2024 16:02:11 +0000 Received: from ediswmail9.ad.cirrus.com (198.61.86.93) by anon-ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server id 15.2.1118.40 via Frontend Transport; Fri, 1 Mar 2024 16:02:11 +0000 Received: from sbinding-cirrus-dsktp2.ad.cirrus.com (unknown [198.61.65.72]) by ediswmail9.ad.cirrus.com (Postfix) with ESMTP id 7325682024C; Fri, 1 Mar 2024 16:02:11 +0000 (UTC) From: Stefan Binding To: Jaroslav Kysela , Takashi Iwai CC: , , , , "Stefan Binding" Subject: [PATCH v1 3/3] ALSA: hda: cs35l41: Overwrite CS35L41 configuration for ASUS UM5302LA Date: Fri, 1 Mar 2024 16:01:54 +0000 Message-ID: <20240301160154.158398-4-sbinding@opensource.cirrus.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240301160154.158398-1-sbinding@opensource.cirrus.com> References: <20240301160154.158398-1-sbinding@opensource.cirrus.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: lx9aTi-vftyceYthR7wavwNRtjIGZmHn X-Proofpoint-GUID: lx9aTi-vftyceYthR7wavwNRtjIGZmHn X-Proofpoint-Spam-Reason: safe Whilst this laptop contains _DSD inside the BIOS, there is an error in this configuration. Override the _DSD in the BIOS with the correct configuration for this laptop. Signed-off-by: Stefan Binding --- sound/pci/hda/cs35l41_hda_property.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/pci/hda/cs35l41_hda_property.c b/sound/pci/hda/cs35l41_hda_property.c index 38a19752cb6c..72ec872afb8d 100644 --- a/sound/pci/hda/cs35l41_hda_property.c +++ b/sound/pci/hda/cs35l41_hda_property.c @@ -94,6 +94,7 @@ static const struct cs35l41_config cs35l41_config_table[] = { { "104317F3", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4500, 24 }, { "10431863", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 }, { "104318D3", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 0, 0, 0 }, + { "10431A83", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4500, 24 }, { "10431C9F", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 }, { "10431CAF", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 }, { "10431CCF", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 }, @@ -481,6 +482,7 @@ static const struct cs35l41_prop_model cs35l41_prop_model_table[] = { { "CSC3551", "104317F3", generic_dsd_config }, { "CSC3551", "10431863", generic_dsd_config }, { "CSC3551", "104318D3", generic_dsd_config }, + { "CSC3551", "10431A83", generic_dsd_config }, { "CSC3551", "10431C9F", generic_dsd_config }, { "CSC3551", "10431CAF", generic_dsd_config }, { "CSC3551", "10431CCF", generic_dsd_config },