From patchwork Thu Dec 14 00:25:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gergo Koteles X-Patchwork-Id: 178384 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp8205446dys; Wed, 13 Dec 2023 16:30:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IExslA4fdWZt2/TBvyUPWcpnax2ewxATs69ifhlOn7Qe412uzDhl4Tg5cdFpqzIfOzcH2fb X-Received: by 2002:a05:6358:2490:b0:16d:bb7b:c0a7 with SMTP id m16-20020a056358249000b0016dbb7bc0a7mr7337849rwc.10.1702513842851; Wed, 13 Dec 2023 16:30:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702513842; cv=none; d=google.com; s=arc-20160816; b=unKToEYtZ2k1jTxs9HKXd7WYRJmBe1MdCrSwp+LTq8UjW/lNm/zzmeXMlP2y8yLGuP H5SKRDuxt3VMnbh1ZLzOcCD7mJHXa8KXHkjgS3r+/JgIxFbJWMb36Ehzs5b6wQMzSiNs oiIuV64km2m2gO5KhQBU3K3IPtkDgUtZQRL0+5JWCuoUFBfD4LXdVCFqQWl7wO9W4E9s hhh15+q91Kj9l17JUwaOY+tCNNQ4BFmM0x+Y2r3VNdzI78mA6saKzuAAxsbHMAtgPs2C 219eA8rcv3wuxY60nrc2HZ0/oeBm6Sdx5Q4TAOfIfRm0Zbwze9AvdV7+z67hV+AaMFEV cCfw== 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 :message-id:date:subject:cc:to:from; bh=5uxg+kAzRjUTzRbrB5Mayu4Xb0Sgkaetbi1Folr5fyE=; fh=ahBigso+4ZXn9oXQeKXkQSo52zHzFS3MNA5xDk+zIWo=; b=hGQy35jvDl7vTY5xnKBdepatmDd4m4Zll3q/wb4oAXUP+e6AOGNWWZ5OEF2eS/7sdX +yUrE+zvTGFXIgEAVshprDtm2JQIWRslT6Ax38J0qcGyTtw8P/F7fZti625I9bmlLcH7 SnWhPaLIXY6bRi90NEE/U/bdN4bGS8zlYC+LoljnQCXpxk6rXciGnMzwzzfU8i7C4hfo yk5ix8L9/b+zifTLigQylvNK163UoFrf2j/LV6NTO8LcTOZ4Pun3hzP+ATRRZ2LeWxuR Z21qSYRxCjxushwh1YHEpd2OmjxAtiWi0FLVkRF66b+e134EcoSyWDhdWGqY/zYvrq9C D9Rw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=irl.hu Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id lp12-20020a17090b4a8c00b00286bfcdbe85si10464991pjb.49.2023.12.13.16.30.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 16:30:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=irl.hu Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 7B09C807CC86; Wed, 13 Dec 2023 16:30:07 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229725AbjLNA0z (ORCPT + 99 others); Wed, 13 Dec 2023 19:26:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230122AbjLNA0v (ORCPT ); Wed, 13 Dec 2023 19:26:51 -0500 Received: from irl.hu (irl.hu [95.85.9.111]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCEF8D0; Wed, 13 Dec 2023 16:26:50 -0800 (PST) Received: from fedori.lan (51b690cd.dsl.pool.telekom.hu [::ffff:81.182.144.205]) (AUTH: CRAM-MD5 soyer@irl.hu, ) by irl.hu with ESMTPSA id 0000000000071EA5.00000000657A4BC8.001285B7; Thu, 14 Dec 2023 01:26:48 +0100 From: Gergo Koteles To: Shenghao Ding , Kevin Lu , Baojun Xu , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Gergo Koteles , stable@vger.kernel.org Subject: [PATCH] ASoC: tas2781: add support for FW version 0x0503 Date: Thu, 14 Dec 2023 01:25:39 +0100 Message-ID: <98d4ee4e01e834af72a1a0bea6736facf43582e0.1702513517.git.soyer@irl.hu> X-Mailer: git-send-email 2.43.0 Mime-Version: 1.0 X-Mime-Autoconverted: from 8bit to 7bit by courier 1.0 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 13 Dec 2023 16:30:07 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785215155224619448 X-GMAIL-MSGID: 1785215155224619448 Layout of FW version 0x0503 is compatible with 0x0502. Already supported by TI's tas2781-linux-driver tree. https://git.ti.com/cgit/tas2781-linux-drivers/tas2781-linux-driver/ Fixes: 915f5eadebd2 ("ASoC: tas2781: firmware lib") CC: stable@vger.kernel.org Signed-off-by: Gergo Koteles --- sound/soc/codecs/tas2781-fmwlib.c | 1 + 1 file changed, 1 insertion(+) base-commit: ffc253263a1375a65fa6c9f62a893e9767fbebfa diff --git a/sound/soc/codecs/tas2781-fmwlib.c b/sound/soc/codecs/tas2781-fmwlib.c index eb55abae0d7b..20dc2df034e9 100644 --- a/sound/soc/codecs/tas2781-fmwlib.c +++ b/sound/soc/codecs/tas2781-fmwlib.c @@ -2012,6 +2012,7 @@ static int tasdevice_dspfw_ready(const struct firmware *fmw, case 0x301: case 0x302: case 0x502: + case 0x503: tas_priv->fw_parse_variable_header = fw_parse_variable_header_kernel; tas_priv->fw_parse_program_data =