Message ID | 20231116112255.1584795-8-cezary.rojewski@intel.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> 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 BAA36C54FB9 for <alsa-devel@archiver.kernel.org>; Thu, 16 Nov 2023 11:24:09 +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 C44B6A4C; Thu, 16 Nov 2023 12:23:17 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C44B6A4C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1700133847; bh=e/MRhjR0kzflry7uFf3SrUDC5vM1n+xeCA0SNUy3hoU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=ZGGLtkM+SnwLwvFquWHKBn7RxCRSfYk9I3GHrEj7tkuHeJYnSC2K+L5cXf/TYFH/7 dNv4EVyF5ncs2rX8JQLrym+XU2tEzlypF+nq90hERVsXrBrUlCDM1xnyalkDXxq0O+ zuxCfyj6p62H8lWMe5bhSKRSoYK3kWMzyCA19Nco= Received: by alsa1.perex.cz (Postfix, from userid 50401) id C6B1CF80589; Thu, 16 Nov 2023 12:22:17 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 5C73DF8055C; Thu, 16 Nov 2023 12:22:16 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1A576F805A9; Thu, 16 Nov 2023 12:22:12 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) (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 76775F802E8 for <alsa-devel@alsa-project.org>; Thu, 16 Nov 2023 12:21:55 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 76775F802E8 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=nlsuU9lZ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700133716; x=1731669716; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=e/MRhjR0kzflry7uFf3SrUDC5vM1n+xeCA0SNUy3hoU=; b=nlsuU9lZlz9Kxq+I0khcJdzl2wxoOjpaC6xD/gksFaLSWIUDRwQBcvtf jA+Jt7WRGtdOWZV4Zx3lU0/bvXq1pLcd6TFx1G7h0Hm51R7UkRItMe1cV RwiFw9y32VGba9+UPgzXwqdPk8/RdCEltxWor59y7glKgY4nm+xYkqEWx LkyhKaHGxRahWgS09hHyiwG2LC48Bn9fHWdVJgl7bXbwpL85nylBcs2xu CI1oQrRU2sMengIW+oXVIKpUafolUY71yyn9MbEorOJpY3Q5+yR+4Nl/o OHVGN1h/KZlsqoEJmNj7a0duV/Lfgt9SKgFygItHtuO+dXkf5LHPBdqJo w==; X-IronPort-AV: E=McAfee;i="6600,9927,10895"; a="457562010" X-IronPort-AV: E=Sophos;i="6.03,308,1694761200"; d="scan'208";a="457562010" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Nov 2023 03:21:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.03,308,1694761200"; d="scan'208";a="6698234" Received: from crojewsk-ctrl.igk.intel.com ([10.102.9.28]) by fmviesa002.fm.intel.com with ESMTP; 16 Nov 2023 03:21:52 -0800 From: Cezary Rojewski <cezary.rojewski@intel.com> To: broonie@kernel.org, tiwai@suse.com, perex@perex.cz Cc: alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, amadeuszx.slawinski@linux.intel.com, pierre-louis.bossart@linux.intel.com, hdegoede@redhat.com, Cezary Rojewski <cezary.rojewski@intel.com> Subject: [PATCH v4 07/16] ALSA: hda/ca0132: Switch to new stream-format interface Date: Thu, 16 Nov 2023 12:22:46 +0100 Message-Id: <20231116112255.1584795-8-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231116112255.1584795-1-cezary.rojewski@intel.com> References: <20231116112255.1584795-1-cezary.rojewski@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: LD4KXKWIE24Q7ETEXMLJ3BVNUHNNXLR3 X-Message-ID-Hash: LD4KXKWIE24Q7ETEXMLJ3BVNUHNNXLR3 X-MailFrom: cezary.rojewski@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 X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> Archived-At: <https://mailman.alsa-project.org/hyperkitty/list/alsa-devel@alsa-project.org/message/LD4KXKWIE24Q7ETEXMLJ3BVNUHNNXLR3/> List-Archive: <https://mailman.alsa-project.org/hyperkitty/list/alsa-devel@alsa-project.org/> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Owner: <mailto:alsa-devel-owner@alsa-project.org> List-Post: <mailto:alsa-devel@alsa-project.org> List-Subscribe: <mailto:alsa-devel-join@alsa-project.org> List-Unsubscribe: <mailto:alsa-devel-leave@alsa-project.org> |
Series |
None
|
expand
|
diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index 748a3c40966e..aa312441604f 100644 --- a/sound/pci/hda/patch_ca0132.c +++ b/sound/pci/hda/patch_ca0132.c @@ -3022,8 +3022,7 @@ static int dma_convert_to_hda_format(struct hda_codec *codec, { unsigned int format_val; - format_val = snd_hdac_calc_stream_format(sample_rate, - channels, SNDRV_PCM_FORMAT_S32_LE, 32, 0); + format_val = snd_hdac_stream_format(channels, 32, sample_rate); if (hda_format) *hda_format = (unsigned short)format_val;