From patchwork Mon Jul 27 04:59:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Lee X-Patchwork-Id: 11686337 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7FEA013B6 for ; Mon, 27 Jul 2020 05:01:12 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9827020714 for ; Mon, 27 Jul 2020 05:01:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="tCTRijee"; dkim=pass (1024-bit key) header.d=maximintegrated.onmicrosoft.com header.i=@maximintegrated.onmicrosoft.com header.b="Pf96SI55" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9827020714 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=maximintegrated.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 9B0181678; Mon, 27 Jul 2020 07:00:22 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 9B0181678 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1595826069; bh=heq+yA9r6yhV6BJ19e9uUiMBYTJYaJPHr5aJE7wPFf8=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=tCTRijeeF7BneQyTyo41R4KcdYA9VZkgbu6deeVlTvHnTbbU+rd/xAnitWcHutEyl kuL27uhoCw75vK3kAu9JzGVgCDOOBfPW6bheUt9pbBnhPTXNPGWZSndDACdO4dXXic QJ78ZVmF8hOoKQiD82ax9VPyk3AKv2kVV2vz32co= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 1E6AEF800DE; Mon, 27 Jul 2020 07:00:22 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id BEA87F80171; Mon, 27 Jul 2020 07:00:19 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MSGID_FROM_MTA_HEADER,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2120.outbound.protection.outlook.com [40.107.223.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 6E11EF800AD for ; Mon, 27 Jul 2020 07:00:09 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 6E11EF800AD Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=maximintegrated.onmicrosoft.com header.i=@maximintegrated.onmicrosoft.com header.b="Pf96SI55" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hsvWSZXCtH4CIS/0PwVZb41VoNhX2vUwEY6S8whxbzSsMGErTV5YgaMZg8sPo4gOuOSUfcw4/7WcppOVur/OIQsszPi2YQ7aRqvk2MEk/DOVs4oN+9thyN6YX2NtowXHu1usWerljzuglPQyWbZ/FyrbeHsAzNSUavurHKUlOGS2Yy4Fv5fEBJBoHiL8OHURw48lm05sCXqn/ZbHFZxfoXii0/fOYHvumX02KT1fWuwHjqtw5RBd7502b2Umdpg7EG+ZVkTWNXC6Etz5J9tcqFvoSwr908WjfuLqWNbCcOX7otH3p4WKs3yZjZl9neqD8jEW6oySQLAfu7xPjhe0Ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HQNHTtxIzShBvGtIlMKkz9O/8pQkqF0MvUCX51cxJLI=; b=UifOplsIkCY5z5ps5pz77mONkfNXFWaTH3CituWbTNTPHzFMrI52kUgXI7EuxB835Ga9ART/u4j6VVj/y6q0qnDtY9qcyR02Gi/wJkLJENm/Fri0IiTyXbFG1LOsfamNG1AsBPqCNd5S9AK3GBtmxPP9NKr8JrHbYjjzFJW1YgLOlsnsaOjGBHr2609lZaFodATsXnpl/QFdAC8qCN+i/+mSzDsxd6dtvKDgR2LlSLkk/cEXuawTbQ1yWqXXBlVRdq78NSCvXnlmagcMiTx2NefbvP9ZYH16ISI18AiWjXIQlpWK/npJ8IOVusMXqbpRKm/YNYVEZoZAApumnbpQCA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=maximintegrated.com; dmarc=pass action=none header.from=maximintegrated.com; dkim=pass header.d=maximintegrated.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maximintegrated.onmicrosoft.com; s=selector2-maximintegrated-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HQNHTtxIzShBvGtIlMKkz9O/8pQkqF0MvUCX51cxJLI=; b=Pf96SI55JgoRFujz/YhIu4eevynnpXmsSYUVgsLewr5zBMwl8mOFUbJ4b2fNh8H/DaqFb3jSUPpQVrrWhLPhJE5fAuVovDYSsH+FYnKQAH6gsjfHjEuv2nb+LOgzygqzXsuuQGJDJNAzAGfZVLWfA0nUewDKL7sT+VZxURUoUHY= Authentication-Results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=maximintegrated.com; Received: from MWHPR11MB2047.namprd11.prod.outlook.com (2603:10b6:300:2a::12) by MWHPR11MB1600.namprd11.prod.outlook.com (2603:10b6:301:b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.21; Mon, 27 Jul 2020 05:00:03 +0000 Received: from MWHPR11MB2047.namprd11.prod.outlook.com ([fe80::d9e8:a3eb:4f08:e795]) by MWHPR11MB2047.namprd11.prod.outlook.com ([fe80::d9e8:a3eb:4f08:e795%5]) with mapi id 15.20.3216.033; Mon, 27 Jul 2020 05:00:03 +0000 From: Steve Lee To: lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, ckeepax@opensource.cirrus.com, geert@linux-m68k.org, rf@opensource.wolfsonmicro.com, shumingf@realtek.com, srinivas.kandagatla@linaro.org, krzk@kernel.org, dmurphy@ti.com, jack.yu@realtek.com, nuno.sa@analog.com, steves.lee@maximintegrated.com, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: [RESEND 1/3] ASoC: max98390: Fix dac event dapm mixer. Date: Mon, 27 Jul 2020 13:59:32 +0900 Message-Id: <20200727045932.20877-1-steves.lee@maximintegrated.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: SL2PR04CA0003.apcprd04.prod.outlook.com (2603:1096:100:2d::15) To MWHPR11MB2047.namprd11.prod.outlook.com (2603:10b6:300:2a::12) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (2001:2d8:ed2b:74dd:b4b1:36e4:d148:7e35) by SL2PR04CA0003.apcprd04.prod.outlook.com (2603:1096:100:2d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.20 via Frontend Transport; Mon, 27 Jul 2020 04:59:58 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [2001:2d8:ed2b:74dd:b4b1:36e4:d148:7e35] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 8d0a5520-4826-4312-784f-08d831e9ebed X-MS-TrafficTypeDiagnostic: MWHPR11MB1600: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:254; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iFRArY3ECcAcczKCSPuEU540SkDA6hYwE8gyyI8mPWrxcbZQHeAL01KBCK6uFHt+HlKHLH+uRx7cVZN6P9o+u9jtVOivdnwqFg+Qv/8gwjy+/FTQiBsQImnI4iNRBzjv7gXnGqrVwIxAhPK+xVBpCQ98+HiZy2Yy3GRzTpbkrP4/v/jOqavA/nVMgO4Hvrbgeor1+N9DeFb2GZFkNViM5ycz6oau+xwPQ7MTRQrH3GlAJ2XC3DaIVBEmofM/i9pe5eUkNip+ANdmsQwpY9Za7Y9G8/yn1bBJaMEaIRqkymK4ZRJRNbzQwJkf0+dfSYmdf+4RUs6eQj5UYXGK2pj1CKVmzKe5twWi+3kfCWmRzkomeVgEQBZBbDglEWm3o/rhUxG5aYF3k+taJWqx0BUtDQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB2047.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(346002)(376002)(396003)(136003)(366004)(66946007)(2906002)(6512007)(8676002)(66556008)(83380400001)(66476007)(7416002)(478600001)(6486002)(86362001)(186003)(16526019)(1076003)(69590400007)(6666004)(4326008)(4744005)(8936002)(36756003)(316002)(52116002)(2616005)(6506007)(5660300002)(921003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: aG4qphtL05KpNrX/D+Qqb32LjiI32OHcnuHPRVAnimtmwTVSBwtkLquRbAVg7wPVFTTS7cwg1omEAFlv8SNhBEGMXunSpZp6tWMwuC5gvizhrd1aDTbX719RONNBsmN/5jYLbLTUI7Fji4MtjjHpBVlsF1Pr88rm3e4Jqzl5qClFSjein8zH5QEPH5Yjp2OnHlHyay5FhP65ikyyxp4eN+P/ZrHl4nB1z1ADZTcur8EDntltAcPjGGn/jca+yzZMp2R4lV/8Rkg6fEd/hFqgsf7t6NAJoJ9n55t34rJP2AaPM7QbhoeKeDCJhZkNmmumJfInjSX+8ymbWMccvZ+MNVUKPYscKMTiTB0pXg1No9ytpHtYMBOPPcp8jfdSo9d6FrSbOubi3D8RJgah8O1MR8s7ix9WLtuA9pkazbyRYwMFf6hHsWdcNnaAy25tZlLG4psSRQ5WMIaBPWQfzHQXFFm78dgntmNUMsxJ3KXqwkhJ0kXbWFXzw8Ds+kqMt5WIB0a1Th9kFE54BrgTW7hSBXhShq4vrMK8pdAb1icbHfFk6aTQ5Z6yWtJY1jrX5/yz X-OriginatorOrg: maximintegrated.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8d0a5520-4826-4312-784f-08d831e9ebed X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB2047.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jul 2020 05:00:03.2472 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fbd909df-ea69-4788-a554-f24b7854ad03 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: lhOmTndpuy0SJbYdQCn+OEW9M6Imu6ySFO7JBAh/mjd1LJhvM0G/QsxoSOidG/XwPT1UgFGAVGts9Nqvci/MP1cABrhX3YSbnkyh0LnR2ZM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1600 Cc: ryan.lee.maxim@gmail.com, ryans.lee@maximintegrated.com, steves.lee.maxim@gmail.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Global EN register guide to off before AMP_EN register when amp disable sequence. - remove AMP_EN control before max98390_dac_event call Signed-off-by: Steve Lee --- sound/soc/codecs/max98390.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/max98390.c b/sound/soc/codecs/max98390.c index 3e8094241645..44ffebac15ad 100644 --- a/sound/soc/codecs/max98390.c +++ b/sound/soc/codecs/max98390.c @@ -678,7 +678,7 @@ static const struct snd_kcontrol_new max98390_dai_controls = static const struct snd_soc_dapm_widget max98390_dapm_widgets[] = { SND_SOC_DAPM_DAC_E("Amp Enable", "HiFi Playback", - MAX98390_R203A_AMP_EN, 0, 0, max98390_dac_event, + SND_SOC_NOPM, 0, 0, max98390_dac_event, SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_POST_PMD), SND_SOC_DAPM_MUX("DAI Sel Mux", SND_SOC_NOPM, 0, 0, &max98390_dai_controls), From patchwork Mon Jul 27 05:00:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Lee X-Patchwork-Id: 11686341 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 48B5F13B6 for ; Mon, 27 Jul 2020 05:02:12 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D0B3120759 for ; Mon, 27 Jul 2020 05:02:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="PfyOJNe4"; dkim=pass (1024-bit key) header.d=maximintegrated.onmicrosoft.com header.i=@maximintegrated.onmicrosoft.com header.b="ZgqKyLnG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D0B3120759 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=maximintegrated.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 60684169E; Mon, 27 Jul 2020 07:01:23 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 60684169E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1595826130; bh=U/Znku8EzjrOQffujBmbs4YE2kKqOQVZD8OkKUtIqX4=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=PfyOJNe44rSRtWinAwGJGv1ygwV2NBo75ehlB5NwvJkojr7gJt4b3/x5UikGlrpZh /TNU9JGlkA9yt2wMSdjLsby/dJZw/HyMP3gyBVdK2X4YM2KBgMAz4nzudoMq9O+wqk hJlKMkad/wAmGFCxuaJKGjixXGYPDbcnyQrqXVj8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 9F3A4F801EB; Mon, 27 Jul 2020 07:01:20 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 29E77F80232; Mon, 27 Jul 2020 07:01:19 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MSGID_FROM_MTA_HEADER,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2114.outbound.protection.outlook.com [40.107.223.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id A0766F800DE for ; Mon, 27 Jul 2020 07:01:11 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A0766F800DE Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=maximintegrated.onmicrosoft.com header.i=@maximintegrated.onmicrosoft.com header.b="ZgqKyLnG" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dg27tascH40J8GVLlMXRDQDeTGGuv0cJLwHSyZxvPMShDN1sSdcpIhk0DcJw9cIO6r+2r2o4Z8iv5ZuKDGEjSFzT7UWe5txXvgLtnEBy/C9BEaEfcN3sUAL/qOhr7kHpOp+F0kvfTq7ekHws66u1KUQ4HGL7DV6ladvgK4vLK1GHmbn+ZDx69xwqjeDyYSc5UYCmdSbEaJaEZz7tJk4VdfoXVn39cnBE/s4Xcx2tIqCjA8Ln2PlMl0xTCQejzJQpXK5IUm58cBBETRiDuN3yywdf+o4y+M41SeDjQJ9neookjUF8A7/lj+Se1Woju7e/oiC3zhrms4PFcezY0F5JBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HDRH4qiL700yFDtGPrFJoisOMBcGYtSiOud1ZsmG/XE=; b=bK6onDZ//aXT83a3vFBQufacgDyZu25wu/pxwuf02e3W8YoaJk2VOEsFs/qXn+8QlYqDnE7tM7+6CGWPccupOvVAWBzMp+AmUBdRkKMBPeQrwAE4cZ/YhiEXegk/jvf9/mTDCQnqAfdCUjVa3ramKFTf6k9imKQbiCXYBsR50qlbV3wSzVtR+APJQGzeDplq7zROC0hWt/av++PMz6/vWMuyp8hrADFgs0IN/4+tTcTv5eAsVmdm9hY//ZTq8lLnQPkbEBCv0h9Q5jJ880VnRrD45mDRCouuQJDr9Wz0Cad87TtZTny9GxTKmpkZVYIAEJwitl3DVxXuNPHbs83jWQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=maximintegrated.com; dmarc=pass action=none header.from=maximintegrated.com; dkim=pass header.d=maximintegrated.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maximintegrated.onmicrosoft.com; s=selector2-maximintegrated-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HDRH4qiL700yFDtGPrFJoisOMBcGYtSiOud1ZsmG/XE=; b=ZgqKyLnGJINtuzcE0xPKBXGGb37upVjzhXVADa3HApb7lLsfysZadlvdMPWB2NRitdC7FYuIqTffRSOQXSKMcsd9p+Xuvp7GKOIDzXwRTwWccymuODnQEGaeECLczxoKk7pWvFn60HhH0Dt/DwGbIgf2w4iYQNsiHV1Wqo8l8RI= Authentication-Results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=maximintegrated.com; Received: from MWHPR11MB2047.namprd11.prod.outlook.com (2603:10b6:300:2a::12) by MWHPR11MB1600.namprd11.prod.outlook.com (2603:10b6:301:b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.21; Mon, 27 Jul 2020 05:01:09 +0000 Received: from MWHPR11MB2047.namprd11.prod.outlook.com ([fe80::d9e8:a3eb:4f08:e795]) by MWHPR11MB2047.namprd11.prod.outlook.com ([fe80::d9e8:a3eb:4f08:e795%5]) with mapi id 15.20.3216.033; Mon, 27 Jul 2020 05:01:09 +0000 From: Steve Lee To: lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, ckeepax@opensource.cirrus.com, geert@linux-m68k.org, rf@opensource.wolfsonmicro.com, shumingf@realtek.com, srinivas.kandagatla@linaro.org, krzk@kernel.org, dmurphy@ti.com, jack.yu@realtek.com, nuno.sa@analog.com, steves.lee@maximintegrated.com, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: [RESEND 2/3] ASoC: max98390: Update dsm init sequence and condition. Date: Mon, 27 Jul 2020 14:00:45 +0900 Message-Id: <20200727050045.20957-1-steves.lee@maximintegrated.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: SL2PR03CA0011.apcprd03.prod.outlook.com (2603:1096:100:55::23) To MWHPR11MB2047.namprd11.prod.outlook.com (2603:10b6:300:2a::12) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (2001:2d8:ed2b:74dd:b4b1:36e4:d148:7e35) by SL2PR03CA0011.apcprd03.prod.outlook.com (2603:1096:100:55::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.10 via Frontend Transport; Mon, 27 Jul 2020 05:01:04 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [2001:2d8:ed2b:74dd:b4b1:36e4:d148:7e35] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 79e9c781-a417-419d-5c38-08d831ea135d X-MS-TrafficTypeDiagnostic: MWHPR11MB1600: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2331; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wuy8QefXwucjvfsxqYYjLEtS4qUI9sO3ZqMKoPr/7V8bddvl+Hs2Z6Ll+AYWFskWTR5qFPOLhE9XnOj8IQmf8pBeHOmHBAEI+zvbmQSeKm3X1c4fGv7qP+bCLWmNFGX7yBTq2bcEzN6m6CZ3uxhk2Qn0cZ4PQGwDQJ1F+sMTyBSfDvE0gkxtixXfUZ4vh2NJLHN9T5xW/uSS0f6EV7FCFH0OcZSbeMw5aUVYsmP1Y6bIQmExFDRdKQn9oylw4tegi06ZruJFjX0o+S9kyqjBDyMhbECBCVo1jSqa3yhNpIcb93nZM6e0XN6DR9kiKGQ5KpNYmw/l9HYLI7KY1WsA1tO64d1YCedg3RAy8L8i4eRPndtgeYTN6qxa7egCp+1OUHI6Z5iH+Tre5cM0u8Hfuw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB2047.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(346002)(376002)(396003)(136003)(366004)(66946007)(2906002)(6512007)(8676002)(66556008)(83380400001)(66476007)(7416002)(478600001)(6486002)(86362001)(186003)(16526019)(1076003)(15650500001)(69590400007)(6666004)(4326008)(8936002)(36756003)(316002)(52116002)(2616005)(6506007)(5660300002)(921003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: RPaT6uune9uxaPeYWkOn3kU7OpB2Jk9v2u7rxf4+Pk9362wb2xOl5bxgYIFJIp0tdQwtwUrzS6CT+7ONMxBqcm4iY2WJ8PmBJxmCIG+P8w+SxDy8lzueK+KP5aGIXZKgTSvCy6xkm4Ul0txwcVHIrPkyJi3r3bhJz2mXhJlH1NE2O2DQCW+CrojLSH0ZotHBLf0t4I9AS8YtDaoHPU2fx6gmdZv2c+VzZkrCV05B+PjEovuJg7TUv2rErpMJWYS3F4MSPLv3aqw0ptbah3FUPTrcjg6BTR1P3tqCHfqtno0CASsbxnuxFGfycSDQXehhh8xyY7qOoRWQxV9cgBE/jlK2hlTRCsfyk7vDT4xKkPdepG5lFwr/mS6G8ewP0NRtV7RnObklPa0aCTsBfBJMW9FYG7Y80Q1IC1PlvgRO/ACfmx0gpr4N2JUA/p2954it9EVrREiflEkQOy4luLma3liscTELNgxOq7ebhNi5FUk0tNzWbQf2SL0vi60M15R0SkaDB/CTXh+dReYfivF+rP9Js7J7ZJP2BRXyhwyRe2w= X-OriginatorOrg: maximintegrated.com X-MS-Exchange-CrossTenant-Network-Message-Id: 79e9c781-a417-419d-5c38-08d831ea135d X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB2047.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jul 2020 05:01:09.3217 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fbd909df-ea69-4788-a554-f24b7854ad03 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: KY5jOz2zTg1A7AorbIEddhRUG3L+60aoAFpZEZu6LMyk/vxLrCe56eAB3F/o6rSHkyhDV6lQ0KLZ7AeRfDpKpKoq9NWDpSqz/EGhgvAlBII= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1600 Cc: ryan.lee.maxim@gmail.com, ryans.lee@maximintegrated.com, steves.lee.maxim@gmail.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Modify dsm_init sequence and dsm param bin check condition. - Move dsm_init() to after amp init setting to make sure dsm init is last setting. - dsm param bin check condition changed for extended register setting. Signed-off-by: Steve Lee --- sound/soc/codecs/max98390.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/max98390.c b/sound/soc/codecs/max98390.c index 44ffebac15ad..ff5cc9bbec29 100644 --- a/sound/soc/codecs/max98390.c +++ b/sound/soc/codecs/max98390.c @@ -790,7 +790,7 @@ static int max98390_dsm_init(struct snd_soc_component *component) param_start_addr = (dsm_param[0] & 0xff) | (dsm_param[1] & 0xff) << 8; param_size = (dsm_param[2] & 0xff) | (dsm_param[3] & 0xff) << 8; if (param_size > MAX98390_DSM_PARAM_MAX_SIZE || - param_start_addr < DSM_STBASS_HPF_B0_BYTE0 || + param_start_addr < MAX98390_IRQ_CTRL || fw->size < param_size + MAX98390_DSM_PAYLOAD_OFFSET) { dev_err(component->dev, "param fw is invalid.\n"); @@ -864,11 +864,11 @@ static int max98390_probe(struct snd_soc_component *component) regmap_write(max98390->regmap, MAX98390_SOFTWARE_RESET, 0x01); /* Sleep reset settle time */ msleep(20); - /* Update dsm bin param */ - max98390_dsm_init(component); /* Amp init setting */ max98390_init_regs(component); + /* Update dsm bin param */ + max98390_dsm_init(component); /* Dsm Setting */ if (max98390->ref_rdc_value) { From patchwork Mon Jul 27 05:01:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Lee X-Patchwork-Id: 11686343 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2E2D413B6 for ; Mon, 27 Jul 2020 05:02:53 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B668520714 for ; Mon, 27 Jul 2020 05:02:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="DNroL5D4"; dkim=pass (1024-bit key) header.d=maximintegrated.onmicrosoft.com header.i=@maximintegrated.onmicrosoft.com header.b="gagzqb06" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B668520714 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=maximintegrated.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 4D36C16A6; Mon, 27 Jul 2020 07:02:04 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 4D36C16A6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1595826171; bh=1OcZmcXNYQZD1EKk8WQIXIwRUSo0zXg6OAq/rYQvPnM=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=DNroL5D45E0QT/3f81ViUui3pZazWuryHJsEeSMezH/oKE2m/2YxZlrafxVA6c21y wITIS8eqBCzNMtDKKRSKLoQFnBHIoGb8cKMEzVwzk00rtE9wT6ws9OsjGcN/qLh4/+ oOTQwk+1YTT2MDIYBDxIWbQ1q9HP2CxEf97S8lRA= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id DC9CCF80246; Mon, 27 Jul 2020 07:02:00 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2D281F8027B; Mon, 27 Jul 2020 07:01:59 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MSGID_FROM_MTA_HEADER,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2130.outbound.protection.outlook.com [40.107.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id CD5EAF80246 for ; Mon, 27 Jul 2020 07:01:48 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz CD5EAF80246 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=maximintegrated.onmicrosoft.com header.i=@maximintegrated.onmicrosoft.com header.b="gagzqb06" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CszzyRFi43RBNR6ug+I8eEnokfR+G5aAoCeqGUXjtmKzo44dpsk8BEBf8c+p++5JGDXp4/Nl13HsLtgfaOjsCBnOOFZWMrWyWUI218+CdYAzC7BL/INWiCwxHQwyqqMu0Bwks6ejPOXu2bBQdZt5/kre0EkvO6aRiBOBlcestrdpwUTzRdeTji+mENkkNrT4EsULeMs8gWVaIgT9pg005/DUrCenFb+0VMOID5e322nLppGtwdVqRgMp69RX15scABPOO90sNuULR6k/1wFEGcwk4ULQ02iTPDmbdvgeCqlPmDigRbEaR/+1ITKjrR0yGbO/klFdkMcWzkLl9eJ3GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VKG3yzcoft3LwZCwxMMfU41Lqv6EcNO1eqJ8SY5JAhM=; b=kbFba2bN9XN/YwvjecO6+6HwqVlmTvBTDDZpBxPSMKz3YgYx9vCtiVu8JJ4pttdR8JiGCLRqr8QNP3KQHTk55IUoYUZKxgovIEOeSiuQ/qnvSAqDuSs6B7HVO6IGU/jUjxyl01TodbyzztkRLYldgltdd0hZiVH2xB7zXUNdkHSm7teJF3fIN8MFcNSL+ifcnqf5dQizEj/OwaYHUV73UV+e48wrofrzE+14EP1WLbhBkUa2Gm0H8ssziQxwiCge+BSqkoacduS6u0Qgz/dbW3mPqfbP55GtzYCyAr64hbRB4s+eP+qtAnL9k6EfuDYx1xU03R9uwgdJTr5dcomWaw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=maximintegrated.com; dmarc=pass action=none header.from=maximintegrated.com; dkim=pass header.d=maximintegrated.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maximintegrated.onmicrosoft.com; s=selector2-maximintegrated-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VKG3yzcoft3LwZCwxMMfU41Lqv6EcNO1eqJ8SY5JAhM=; b=gagzqb06OYwcTPf7MF+BDlCJj/Gxq9Lcrwvv9qU/02VvTf8Ouq10Cf9SyLR3JR7IwEqQqW+Ik/QBe2caNS3yLmLIucLvqcr9lyKn1qSgt67hitLPOmudEr2cOaFB8lIbJGtbSBnK28VTclL2+l2NdAYzGtA3bPnQvmt4s0QbDwY= Authentication-Results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=maximintegrated.com; Received: from MWHPR11MB2047.namprd11.prod.outlook.com (2603:10b6:300:2a::12) by MWHPR11MB1600.namprd11.prod.outlook.com (2603:10b6:301:b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.21; Mon, 27 Jul 2020 05:01:45 +0000 Received: from MWHPR11MB2047.namprd11.prod.outlook.com ([fe80::d9e8:a3eb:4f08:e795]) by MWHPR11MB2047.namprd11.prod.outlook.com ([fe80::d9e8:a3eb:4f08:e795%5]) with mapi id 15.20.3216.033; Mon, 27 Jul 2020 05:01:45 +0000 From: Steve Lee To: lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, ckeepax@opensource.cirrus.com, geert@linux-m68k.org, rf@opensource.wolfsonmicro.com, shumingf@realtek.com, srinivas.kandagatla@linaro.org, krzk@kernel.org, dmurphy@ti.com, jack.yu@realtek.com, nuno.sa@analog.com, steves.lee@maximintegrated.com, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: [RESEND 3/3] ASoC: max98390: update dsm param bin max size Date: Mon, 27 Jul 2020 14:01:19 +0900 Message-Id: <20200727050119.21009-1-steves.lee@maximintegrated.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: SL2P216CA0031.KORP216.PROD.OUTLOOK.COM (2603:1096:100:1a::17) To MWHPR11MB2047.namprd11.prod.outlook.com (2603:10b6:300:2a::12) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (2001:2d8:ed2b:74dd:b4b1:36e4:d148:7e35) by SL2P216CA0031.KORP216.PROD.OUTLOOK.COM (2603:1096:100:1a::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.21 via Frontend Transport; Mon, 27 Jul 2020 05:01:40 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [2001:2d8:ed2b:74dd:b4b1:36e4:d148:7e35] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: eea1ca6b-6418-4a6b-ea5a-08d831ea28d8 X-MS-TrafficTypeDiagnostic: MWHPR11MB1600: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:361; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2Ib5mYmw4S9L8qxKOpDN1yZS62qzQ86Chzg+FBst2bYAWNwTGJ9KoMD0lHS2FDyRBwBJZh5pxwh3oIFhVNoKe5gx4aypEyZetzUkrnrhx9aZplSTvdAbmg3Vai53DcPJRvPkhvIO6t6ivsBmOzUWiIKmKc7mM4ZjlJEmFpilJ98Rkx8c1euxk9Tq1guzrnI84Q4fWwQKDJHya++KXZMhhIcqFhJFZH3XEcA9l+ruPtrA5gVVRKf9Xdp2lwDu7ju4sz9WX2BaVNM6/07tNnINc+XDEiuTD939MGAjBTy2VY7pdY0Wib8oYT4cXNWYZRJ8OYyPavbsl8agrYANzuUdBiQHDXar07Z6FFYfFAwPS2f0CWbsVV0WtKLOZJEtmAwNjTuD4q/m5hI0sx17aTrjmA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB2047.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(346002)(376002)(396003)(136003)(366004)(66946007)(2906002)(6512007)(8676002)(66556008)(83380400001)(66476007)(7416002)(478600001)(6486002)(86362001)(186003)(16526019)(1076003)(15650500001)(69590400007)(6666004)(4326008)(4744005)(8936002)(36756003)(316002)(52116002)(2616005)(6506007)(5660300002)(921003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: GAX90Ryl3M73VNnSH21gImf1swK6XbruR5qg3j3foi0hty/Y+9hqJeC2aYUpUgI4muUFP1Nq1ziG3kQulIpE9RB91oPADdqoiJH1rhJJbdcj9hBe2ljx15GZDkytsqsv2vVInoauWeIxOqdQnvFQJMaxf3uq8BV35WS1zx7g+A74ls3rMGZVk5ZxEQd0xp1EyF/FuKknYjZz/kwNTrast+eseo5wXV4tfr8GsYUqt4tzY5f5DJxuahS1b6Qsms4/xu4PLYbepVYT5cA1BfPJVM+z8vZcHbl8JOJykKnkspGFI44fDV/SvPQA1tosNMwGUAmuzIOURsWZU+9N0xRIu2ZcaNpixmNsfZc6f7LoaXHW42zghPjVpOIFRmj/c5HhLhKl1LcbBu9+LCI8AA/khIQK2gJipQV0RXua3q8gatiDOl38S4GMpf6FrN4MtvWLvuPVYGe1wrGNCaTYWmZ8nknUL28nZzXl0IWiNjd6z4MtBW12UQZU9j60nBa7cn1fOEjJtOp7//ApOs7CKcKWo9MajdP4HXEjKKkeN2HTnzc= X-OriginatorOrg: maximintegrated.com X-MS-Exchange-CrossTenant-Network-Message-Id: eea1ca6b-6418-4a6b-ea5a-08d831ea28d8 X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB2047.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jul 2020 05:01:45.4476 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fbd909df-ea69-4788-a554-f24b7854ad03 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: eSO++bpWR47hg+Y8VaIcZo7G0wjNmdezFAYwgRDROgnzkN88Uo8f3iXT4fKxn76l27jQ0pNVj3N7BG41bDGu57j+Hkv5dVuSRx+nF7TjvTY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1600 Cc: ryan.lee.maxim@gmail.com, ryans.lee@maximintegrated.com, steves.lee.maxim@gmail.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" MAX98390_DSM_PARAM_MAX_SIZE is changed to support extended register update. Signed-off-by: Steve Lee --- sound/soc/codecs/max98390.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/max98390.h b/sound/soc/codecs/max98390.h index 5f444e7779b0..dff884f68e3e 100644 --- a/sound/soc/codecs/max98390.h +++ b/sound/soc/codecs/max98390.h @@ -650,7 +650,7 @@ /* DSM register offset */ #define MAX98390_DSM_PAYLOAD_OFFSET 16 -#define MAX98390_DSM_PARAM_MAX_SIZE 770 +#define MAX98390_DSM_PARAM_MAX_SIZE 1024 #define MAX98390_DSM_PARAM_MIN_SIZE 670 struct max98390_priv {