Message ID | 20180726161112.4F75744007A@finisterre.ee.mobilebroadband |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4386575ljj; Mon, 30 Jul 2018 11:23:05 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd8mzqd6kce4r5HGZ7PCld3dZi3Twz6f9v5yuQzJOpZtRKkTf/LCy152w6FaFhbJOW/Awgj X-Received: by 2002:adf:ea0a:: with SMTP id q10-v6mr18413719wrm.224.1532974985535; Mon, 30 Jul 2018 11:23:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532974985; cv=none; d=google.com; s=arc-20160816; b=EylqBNNOF9Uq5hChUZysUT6FzOmiPjC99WoUiv1KSsn4jJdRoyzmIfZhKq9ZNGe04Y dNi6UJeYdyQDfOcsz1Y4n2WN3HgKHiceGybRTXQyEM5zYXEvN0UjREEdWeOE5b4lok3B qcDsC8WPgKPywEELY+/QScZhxdfVhd6MduQocpuh0Vl7mtDNJu+SGb4K2kBXBrmXMehx /7gXkTo0+3QOCPVTDz95/99cc4DQjIMj0QckPRxHF/xekMFLqF+H8mZa3nN3bFtxq2pK fBRSoOg/RmCvwq55+xi//pkiehVdHc0d30JOh3JG4n9k+Z5Q47/1WRrvNZRdNbexxHIQ 9Pvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=eJfOYAVqhhim9y/+9jd0MUh3LL6//rqYGyAvZhZd8Do=; b=D5Bax2huIHVlO9gEH7U94yyvJjJWEtau5ZbWEdPicZ95r19NwnTvvEjXeDG31zNxqf bKuPb7wsxiVwjXiV8I2ehhI1o7Xj2KHc96SyNGYeScCPPpDP53A9IbDTburLB5Q6XDmC bMIEqt8svA9Kwz6MuJewvoFGKzpEagkoVjYz829zaMO+yO9znCjTGVRjAceqPw6Zibl/ 5Lb9L+9GPt+LaVDT24tm+feb9z6NgpO7oF4FXio92P2Jwy7Ho6XrWu2CP2FeI1bxycb5 zAK9p0rbbp/RtXjkAhOWSmi02E6moHLn2wnkl0QKwW0N73KxdHd998lZwFe5yGf87lb3 YkCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=SMDug2Rg; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: <alsa-devel-bounces@alsa-project.org> Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id f15-v6si12870143wrf.60.2018.07.30.11.23.05; Mon, 30 Jul 2018 11:23:05 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=SMDug2Rg; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id E435B2677AC; Mon, 30 Jul 2018 20:22:50 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 4719B2677A8; Mon, 30 Jul 2018 20:22:47 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: ** X-Spam-Status: No, score=2.1 required=5.0 tests=DATE_IN_PAST_96_XX, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id 9A86926779F for <alsa-devel@alsa-project.org>; Mon, 30 Jul 2018 20:22:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=/P2B+DmqPuuql04gsvDZSitHsVRhOZ4R6JaG+MU+x48=; b=SMDug2RgPcGb n/rzwPZZdggKMEjGuoKV7mxmsDm2b1vpQzov9AbrhZmmVJAZIXQ0y87HI83RMu91oEMSMydUrkAYc /8QRxtnsYNEWhnJsU7Aa8mH4c6/4FQpwdPbCiitaHYRnPRw3JrloRAJTiNztXcGTKzb3bdOL2X6h5 lhDJI=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <broonie@sirena.org.uk>) id 1fkCob-0005jh-PR; Mon, 30 Jul 2018 18:22:41 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 4F75744007A; Thu, 26 Jul 2018 17:11:12 +0100 (BST) From: Mark Brown <broonie@kernel.org> To: Takashi Iwai <tiwai@suse.de> In-Reply-To: <20180725211722.18944-7-tiwai@suse.de> Message-Id: <20180726161112.4F75744007A@finisterre.ee.mobilebroadband> Date: Thu, 26 Jul 2018 17:11:12 +0100 (BST) Cc: Liam Girdwood <liam.r.girdwood@linux.intel.com>, alsa-devel@alsa-project.org, Lars-Peter Clausen <lars@metafoo.de>, Timur Tabi <timur@kernel.org>, Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>, Nicolin Chen <nicoleotsuka@gmail.com>, Mark Brown <broonie@kernel.org> Subject: [alsa-devel] Applied "ASoC: dmaengine: Use standard pcm_format_to_bits() macro" to the asoc tree X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org |
Series |
Applied "ASoC: dmaengine: Use standard pcm_format_to_bits() macro" to the asoc tree
|
expand
|
diff --git a/sound/soc/soc-generic-dmaengine-pcm.c b/sound/soc/soc-generic-dmaengine-pcm.c index 120f7b39e256..52fd7af952a5 100644 --- a/sound/soc/soc-generic-dmaengine-pcm.c +++ b/sound/soc/soc-generic-dmaengine-pcm.c @@ -188,7 +188,7 @@ static int dmaengine_pcm_set_runtime_hwparams(struct snd_pcm_substream *substrea case 32: case 64: if (addr_widths & (1 << (bits / 8))) - hw.formats |= (1LL << i); + hw.formats |= pcm_format_to_bits(i); break; default: /* Unsupported types */