Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5677173rdb; Wed, 13 Dec 2023 16:30:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IF5IvTPuLTpqXTz0rru/ZhDqHqhkMrFuhCqadE/XYcA2wiy8J8C5joo7BonbhNYG5hYa8RO X-Received: by 2002:a05:6a20:f397:b0:18f:c875:6b3b with SMTP id qr23-20020a056a20f39700b0018fc8756b3bmr4830399pzb.100.1702513843136; Wed, 13 Dec 2023 16:30:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702513843; cv=none; d=google.com; s=arc-20160816; b=uGlhnaz0Tn+sOcmZLdcuXeC75+5HDRpKzWRgLfO/WyacK6gdHv6BqrIYNSAjFVPk9B 3hrEj9BlxueIg3fLFmRS5D80mmqnU314DFx2ZcTKbSUwK+xENNSHOt10rJ+RjQ3dcSIH Hn/F/oyHpAp6uacYTeqxuMvAJgsxT04OlmhcUFxWZagjeWZybMuAwDzmof+g6Ijs6B/h W8mhs4EvmnsANtnWEFVwGp4SS6xgJQzzTIAb+fuojO4D/3MzPwAtOtyeD6EUZwXOU4ML fGalhcsEJhw1Fl9LQ8NIvIQupxEofZ1TnbQFSYpyTyQEW80wT1McXovS/MT4cyBRSaUV YqPA== 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 Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id m8-20020a1709026bc800b001cfce833b63si10180674plt.83.2023.12.13.16.30.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 16:30:43 -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 3C547809C380; Wed, 13 Dec 2023 16:30:12 -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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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:12 -0800 (PST) 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(+) 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 = base-commit: ffc253263a1375a65fa6c9f62a893e9767fbebfa -- 2.43.0