From patchwork Wed Mar 22 07:50:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 665926 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 5FBB5C6FD1F for ; Wed, 22 Mar 2023 07:53:06 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id B486084A; Wed, 22 Mar 2023 08:52:11 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B486084A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1679471581; bh=7a2GhfW7324e6g9+ok85VKCv04RxfgGwknInfHrga8Y=; h=From:To:Subject:Date:CC:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=U5efW485Rv61rvpBDmVuk7Vtb7UCFEaGRK03yVAsap3kqZRBACzojm+zb07LDyuAh rQRhfeNkuDXYMggWvmDoVfyJSVS1wj7kWCp9URFwwM5AjkbEZqrccSCVWuSE3TkEYZ vZAdQYI8PySfV+dbsTRGKvuy6/5RZRQ9mTRBk2go= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id D9543F802E8; Wed, 22 Mar 2023 08:51:49 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9943AF8024E; Wed, 22 Mar 2023 08:49:55 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) (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 8D896F80105 for ; Wed, 22 Mar 2023 08:49:50 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 8D896F80105 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=K/hgZYzp DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679471391; x=1711007391; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=7a2GhfW7324e6g9+ok85VKCv04RxfgGwknInfHrga8Y=; b=K/hgZYzp1CbY25ZTkn5JkUtO/TSZ4NGgz6uYD6fgjqwOVoKu5CdDNADk 9oAlo7z03h04wA+GNmZiUJxj9v1kXknK8ZQUBGflnPL4VqQg2gWE2HUzk d2nNzvrGG1BGrJk3odspSa/vz6TtETf9GHM/b+oe0bmjCQB1nnVKA2Ogl iTCcIxBeVWEtJ7h5j157vWeojH1yNTJfqi8CIdQ/3P8naJbBoBe/WlJhd 9AbsNJzKcuecML+D/pb0ROhN0fceJhlvPe3hq0hRhgUOX+GRv1XVR9ban rkb5CxKV+lARxPytxQxvGEMw2NCi9n1cKNxPtZ1FHGpt4/NJXLDrq6jru w==; X-IronPort-AV: E=McAfee;i="6600,9927,10656"; a="322990572" X-IronPort-AV: E=Sophos;i="5.98,281,1673942400"; d="scan'208";a="322990572" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2023 00:49:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10656"; a="792439608" X-IronPort-AV: E=Sophos;i="5.98,281,1673942400"; d="scan'208";a="792439608" Received: from gjantea-mobl.ger.corp.intel.com (HELO pujfalus-desk.ger.corp.intel.com) ([10.251.222.2]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2023 00:49:42 -0700 From: Peter Ujfalusi To: lgirdwood@gmail.com, broonie@kernel.org Subject: [PATCH] ASoC: Intel: sof_rt5682: Remove conditional dpcm_capture setting Date: Wed, 22 Mar 2023 09:50:12 +0200 Message-Id: <20230322075012.23463-1-peter.ujfalusi@linux.intel.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Message-ID-Hash: WTRAE2LHEIZVIRBYCLCTCGMDU7YV2KA6 X-Message-ID-Hash: WTRAE2LHEIZVIRBYCLCTCGMDU7YV2KA6 X-MailFrom: peter.ujfalusi@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: alsa-devel@alsa-project.org, pierre-louis.bossart@linux.intel.com, ranjani.sridharan@linux.intel.com, kai.vehmanen@linux.intel.com, yong.zhi@intel.com, yung-chuan.liao@linux.intel.com X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Yong Zhi The dpcm_capture is set unconditionally, we can drop the conditional setting of it. Signed-off-by: Yong Zhi Reviewed-by: Pierre-Louis Bossart Reviewed-by: Bard Liao Reviewed-by: Ranjani Sridharan Signed-off-by: Peter Ujfalusi --- sound/soc/intel/boards/sof_rt5682.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/intel/boards/sof_rt5682.c b/sound/soc/intel/boards/sof_rt5682.c index 2eec32846078..76ee2e35e1ef 100644 --- a/sound/soc/intel/boards/sof_rt5682.c +++ b/sound/soc/intel/boards/sof_rt5682.c @@ -793,7 +793,6 @@ static struct snd_soc_dai_link *sof_card_dai_links_create(struct device *dev, } links[id].init = max_98390_spk_codec_init; links[id].ops = &max_98390_ops; - links[id].dpcm_capture = 1; } else { max_98357a_dai_link(&links[id]);