From patchwork Wed Jul 25 16:40:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 142876 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1029330ljj; Wed, 25 Jul 2018 09:40:16 -0700 (PDT) X-Google-Smtp-Source: AAOMgpddwMUCj8yTCauzAQK0ND0u26AEcGbK4psClDCmhyWVGYRy/vzt9ZlhfmlYQJq7RKqV1mfU X-Received: by 2002:a1c:9807:: with SMTP id a7-v6mr4930311wme.32.1532536816425; Wed, 25 Jul 2018 09:40:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532536816; cv=none; d=google.com; s=arc-20160816; b=x2oMDaRm4mPyMjqkUSL1FLaGf4msnSSB1dD78/7eHyMWa/omogsGPf1iONsdQPMitA az81k1J/3PyZuOnFTxrA+x/199e8ZC9sgT4Kii1dPlbiPBvYR64eafi0Y35qDrVgM7c5 ihyJudjSgb9TbUSBRFuMXq7FIHRFfR39cyYWZJ9dA5JWRSMQy+/Za5OuNs16+EeC3l78 2t4Qij+UFKGWxGAkm5yhteX93S/u1EVTxU28KHY51E7UWm1wPE3LMU0Gy9WoYInSh1Wd q6lqfGUNu7rOIAmcxnuddnj7mvMR2P4J7I5dspfB3ri0TBKMhyApFhjMoMQHiCCam+Jl 7iuw== 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=SEY4qFnvRo4fquMD5GT0Qa0B3+SzYR+vUiWVm8cSv48=; b=k55Z+QsJJUfjc0pAqp7WMGExOptRiarLteeV6LkuB0JMSVbWfx6b+ZogFH16YxdDBW X14/OdsbgbXOyLmApz4yd9jW1FRJElMgZdmRA6n4xaKrB+31YlpkoULKLJ8eYbIfHo3f xpOQaYO4UWjRhLbbuWYaI97zIvj2w3EPbuNQGN2Py7BE84IJow/A0SL/n6bEriiQ0vaM w2IwowU6HZkXxciMnRm0osTfuflNMvnbvOmZ4xXguHcfrag9AO9v2Qae5ZJ5vSDs/dit r+RT1hAizaOUgKpelxiTO/AbkGZHOaYs7UGr5BKkKA+oht/wA51mr/Pr9VbMcaxdb50i 24Gw== 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=e+7X2W0w; 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: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id z23-v6si12352444wrb.231.2018.07.25.09.40.16; Wed, 25 Jul 2018 09:40:16 -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=e+7X2W0w; 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 78D3E267783; Wed, 25 Jul 2018 18:40:10 +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 EF9BA26774B; Wed, 25 Jul 2018 18:40:05 +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=0.2 required=5.0 tests=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 4253E267757 for ; Wed, 25 Jul 2018 18:40:04 +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=QkzgX5p/9h2abneeYZmXT9mfIraDKHc2nk3U7dHJPQ4=; b=e+7X2W0wWKcx ARQyD1MNLfa10VzJlHw7Y6QKoj+Vx0CwI2t5+EuHtroqQOUkedniG79Zn7Ts+MZOw1Twr1+Htz5/m PpfaAXKcSt6EO04hggTt7gj01gQf8BgTXF3ksFagJa7rEseYt2vi7qLPX4atSFBOQtjOWkpj7QB+a Y8cdM=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1fiMpW-0006lD-PH; Wed, 25 Jul 2018 16:40:02 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 7D9801123B08; Wed, 25 Jul 2018 17:40:02 +0100 (BST) From: Mark Brown To: Pierre-Louis Bossart In-Reply-To: <20180724211248.29427-7-pierre-louis.bossart@linux.intel.com> Message-Id: <20180725164002.7D9801123B08@debutante.sirena.org.uk> Date: Wed, 25 Jul 2018 17:40:02 +0100 (BST) Cc: tiwai@suse.de, liam.r.girdwood@linux.intel.com, alsa-devel@alsa-project.org, broonie@kernel.org, vkoul@kernel.org Subject: [alsa-devel] Applied "ASoC: Intel: Atom: fix inversion between __iowrite32 and __ioread32" 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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: Intel: Atom: fix inversion between __iowrite32 and __ioread32 has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark >From 9a0daaab31e9e39047ced79409313c34dae4635a Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bossart Date: Tue, 24 Jul 2018 16:12:48 -0500 Subject: [PATCH] ASoC: Intel: Atom: fix inversion between __iowrite32 and __ioread32 This looks like a copy/paste issue, but clearly there is an inversion that is obvious when checking the arguments. Detected with Sparse - now that we have fewer warnings this one was easy to find. Signed-off-by: Pierre-Louis Bossart Signed-off-by: Mark Brown --- sound/soc/intel/atom/sst/sst_loader.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.18.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/intel/atom/sst/sst_loader.c b/sound/soc/intel/atom/sst/sst_loader.c index a686eef2cf7f..27413ebae956 100644 --- a/sound/soc/intel/atom/sst/sst_loader.c +++ b/sound/soc/intel/atom/sst/sst_loader.c @@ -44,15 +44,15 @@ void memcpy32_toio(void __iomem *dst, const void *src, int count) /* __iowrite32_copy uses 32-bit count values so divide by 4 for * right count in words */ - __iowrite32_copy(dst, src, count/4); + __iowrite32_copy(dst, src, count / 4); } void memcpy32_fromio(void *dst, const void __iomem *src, int count) { - /* __iowrite32_copy uses 32-bit count values so divide by 4 for + /* __ioread32_copy uses 32-bit count values so divide by 4 for * right count in words */ - __iowrite32_copy(dst, src, count/4); + __ioread32_copy(dst, src, count / 4); } /**