Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp758464rwd; Thu, 1 Jun 2023 06:17:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7QJE4sUyGUBsBiPAGiKJORsq5QfhVyPC4sxkPclvx6wchSGidd2afTyPsu2N5Q+F1uyJs4 X-Received: by 2002:a05:6a21:670b:b0:10a:be5c:6e2d with SMTP id wh11-20020a056a21670b00b0010abe5c6e2dmr6012952pzb.39.1685625453847; Thu, 01 Jun 2023 06:17:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685625453; cv=none; d=google.com; s=arc-20160816; b=Qf7dtDyGQK3sxRFfljTdi4q+Vci6y55P0xU4mgBYD7sNQa+tMCZ13NRkhqrgCGGs6N ihAQdCiPe7J1Ns/nFI9aBanH2EQ1KuOItdKZXfjOerz4haGlnaZwWRkke4K+09FX66Jt Hu4KiKSPMYnad4XInNc0WZxz40HZmmuHucueDVH72ooGQQqTOaEN89zhz9DLodep/74a 90eOQ5+lLBRuMH7c6e4a6w5PMz5Dx+QN6Dtv28EoJ7QH6/ZrL+uXpLu8EM+lEX30tihJ BvqeX6kjePaGD+kl/VT6gbUBsq8G706Kfxwra9gCUuGdBA3g6W6CtCTklJERtTJStGbn UwwQ== 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:dkim-signature; bh=tm7KDaSSjYvTYPu798lAyVQ8TuXxD3ciaiRSHMe2MWI=; b=iTPrEv2cbvDGs4mtf2gBXs5ck1UUwqbSzV7lQcaYsHcBLNjysGuIxjaTuCBCXSSwLu 2TfLObveVfIw+EPmNy3acLseIUjI7GxGDY8u49V6aVO347MuHCfY+UeeyJm0REkvTTmc PQ+nPO1XHcV5JFESlMaFav58ljestOk2UnWbgznZuJmJo4wrOzGSR7i/gyeymYIjXOQT 0O25VYdHrmJ5kFN1B+PsB2cILmJ1fpQEs4XZJSwmOjKWVVXgW3poaOG7k9IoAV7ZQ33U ln2lbuk3R7Rm2msdNPVn28bfQr90enTVn7DtOkITA3j7LkYWIyp0OHURfl5u/HYQINLb rEfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=cRNwyrR6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 205-20020a6302d6000000b0053f7fcd4705si2890292pgc.541.2023.06.01.06.17.08; Thu, 01 Jun 2023 06:17:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=cRNwyrR6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233239AbjFANGV (ORCPT + 99 others); Thu, 1 Jun 2023 09:06:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233220AbjFANGT (ORCPT ); Thu, 1 Jun 2023 09:06:19 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D2E4138 for ; Thu, 1 Jun 2023 06:06:18 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id 98e67ed59e1d1-25673e8c464so287441a91.3 for ; Thu, 01 Jun 2023 06:06:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685624778; x=1688216778; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=tm7KDaSSjYvTYPu798lAyVQ8TuXxD3ciaiRSHMe2MWI=; b=cRNwyrR6RhCtm54eNkfyDGqAwseqfMo+xydQcUdKy/QlVcZqFRAlkI3bQCOaN1cDu7 9d6pDMsFJC703p+mSJAHYKXwKJfhiv+Fv6yeoln1PUPfZvi4RBw1AedgK+hc9fazXGqN YI4kXpD4+O6j3R5pvJzSFx9Eo50ooTzwSOI+oqFQPglxckMxS/CGqotCZCb2AQWvrlv2 DD3BASB+s/Rnsb/Fwi5Jr2rJiCPDeA7cKgjinyR/+9l6NFzj1l5eRpN2tvDDdCMoiN99 oqBYLUgewJAAb4/T43J0AF+fLzTPbkkB75g0c/+HahjIt0tlrAkeJVkOOfKKZfLKM7Qg Djzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685624778; x=1688216778; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tm7KDaSSjYvTYPu798lAyVQ8TuXxD3ciaiRSHMe2MWI=; b=BX3l2N2ie+SSnyqGRse9x/YHiccv5GEyinnda4Gp8yzbUK4BhkWMfj2SI14HNwifCT zMtSVJAbOdpBhaLEpwr2nl//p1xm1rBKgQzcwCKznBlxcmFM9B7gQEr7bKRfpt0Nlxui zJpbQoxCfKaeUFQSpUORJiv5LZYbeih/Py8inPDvKq12H/e2UtMjTadwN4Z5wI8Rs+YJ RjiYran6q13AtiQSJe/qTZg5WF+Sq4eguEFN6B0vlrHT876hkLb/kGqQ669Rg2YVEsfX PWxW6/R6aezZk5XoF1R+XRfk7+3lqT6QIW9KxA0DmIcJOFFxJkGYwdpHCyKGuOyy1H6U n1og== X-Gm-Message-State: AC+VfDxulwww7JRn2ap2tGJRJPOleuhPn1PPMfVPb9f1XX6kypxVTJgS h/Puyoa772oRqQ1SZXOFp5oQ8c8by00= X-Received: by 2002:a17:90a:a40e:b0:256:8cb7:2b2b with SMTP id y14-20020a17090aa40e00b002568cb72b2bmr6413171pjp.14.1685624777949; Thu, 01 Jun 2023 06:06:17 -0700 (PDT) Received: from ryan-ThinkPad-T470.. (c-24-6-63-212.hsd1.ca.comcast.net. [24.6.63.212]) by smtp.gmail.com with ESMTPSA id s34-20020a17090a2f2500b0024df6bbf5d8sm1430096pjd.30.2023.06.01.06.06.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 06:06:17 -0700 (PDT) From: =?UTF-8?q?=E2=80=9CRyan?= To: lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, ryans.lee@analog.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Cc: jairaj.arava@intel.com Subject: [PATCH 1/2] ASoC: max98363: Removed 32bit support Date: Thu, 1 Jun 2023 06:05:59 -0700 Message-Id: <20230601130600.25344-1-ryan.lee.analog@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ryan Lee MAX98363 does not support 32bit depth audio. Removed 32bit from the supported format list. Instead, added 16bit and 24bit to the list. Signed-off-by: Ryan Lee --- sound/soc/codecs/max98363.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/max98363.c b/sound/soc/codecs/max98363.c index 4585ebb1e82c..8aa9d9c67aa2 100644 --- a/sound/soc/codecs/max98363.c +++ b/sound/soc/codecs/max98363.c @@ -211,7 +211,7 @@ static int max98363_io_init(struct sdw_slave *slave) } #define MAX98363_RATES SNDRV_PCM_RATE_8000_192000 -#define MAX98363_FORMATS (SNDRV_PCM_FMTBIT_S32_LE) +#define MAX98363_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE) static int max98363_sdw_dai_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, -- 2.34.1