Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp279017imj; Thu, 7 Feb 2019 04:17:31 -0800 (PST) X-Google-Smtp-Source: AHgI3Ia14qpcOe+rVGbm9+et1ZBkritxghoEsDFab9EDwwBX4LcnGGr9EsV0oe7sjzVlgIYz8Hja X-Received: by 2002:a62:3141:: with SMTP id x62mr15762287pfx.12.1549541851146; Thu, 07 Feb 2019 04:17:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549541851; cv=none; d=google.com; s=arc-20160816; b=iC5kNV4mg81poARBanWOPoQPqtsQHsz95da8j1d056utVXrBC5m/XPgaDdtCEDxTZv ZpHrn0JlfmjH+NdZ58lQXN4SCQG0N5lwt+31nCgyrYAIx9u/jj+ZB5OarxsWi1eRiQCY 9KgnBj7nkzSHzcUXiChBQGz72Hn5s8tEaKFMOSYSDUPOB06fYEWcougZTDxQwNHgRvIU 30zpq7vMYQP4UUbZIRmijK//vyD17aRhJu4Q9/Cq1tt9nOO1rLcTGD25zb8F1V0P5qDz QyugEwZLku9teW38HYcLmvE8+YON/G3fayQ+vo2R8XWniWJ5fkJ6ImuqpTHViJo6xskV XTEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=9TKitVj8S+7S/i4w2QpH85XcdpIH4c7eRAsIoB47T2c=; b=RZ2EQmQ0rTqpUMmnKW1Rf8r1atJ0NfXfErez5NmrOgQAjDcz5m1LOEG/I4m7dkONWc ZCNhZH55Gwtmb2e2BwtR3QPOrIMvtSgRs9dHxo9rOXzBrOEpbGs1aNbFjFqypLluSeNK P4b4pZ79nDMCoSRlCEmDQ6OphZBjtHMoNFcr3aiWuKUZNTL0esPhnlM9OLoFvXuZ4d6u lKCzDRoOjWpbw06CLsbWaI+nj52/19q5z4og2nqZ+/QS/FtB7qGf/KuJxJzph9sNsx7K pO0N0ZI7tp1XdT+FOIiYNgZ1XYDkOzytFV0Cgcgp23dHJvBuHN54k3A7j8OjPy/LsJmY 3NOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=ra9UOt7I; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n17si2231690pgv.485.2019.02.07.04.17.14; Thu, 07 Feb 2019 04:17:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=ra9UOt7I; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727141AbfBGMQ3 (ORCPT + 99 others); Thu, 7 Feb 2019 07:16:29 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:41736 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727127AbfBGMQZ (ORCPT ); Thu, 7 Feb 2019 07:16:25 -0500 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=9TKitVj8S+7S/i4w2QpH85XcdpIH4c7eRAsIoB47T2c=; b=ra9UOt7I/DKZ MFCYZvQQwvnbtTKowGYK4NAX7677TDcEWJD/YTn9aNRff3VPcFv8gWvq6QQoQhUku8RAhQqIOxEa2 5R+uxnjOCQ3Se4Nkvx5l6oo92p6gdjr9PYbCGEdN3RHPatE69S3iiSaQOdtcF1y8xn7U9WuFHQpRy dCWy4=; 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 1gribC-0004vw-1i; Thu, 07 Feb 2019 12:16:10 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 993E51127EF9; Thu, 7 Feb 2019 12:16:09 +0000 (GMT) From: Mark Brown To: Jiada Wang Cc: Kuninori Morimoto , Mark Brown , lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, kuninori.morimoto.gx@renesas.com, jiada_wang@mentor.com, twischer@de.adit-jv.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: Applied "ASoC: rsnd: ssiu: correct shift bit for ssiu9" to the asoc tree In-Reply-To: <20190204134105.15243-1-jiada_wang@mentor.com> X-Patchwork-Hint: ignore Message-Id: <20190207121609.993E51127EF9@debutante.sirena.org.uk> Date: Thu, 7 Feb 2019 12:16:09 +0000 (GMT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: rsnd: ssiu: correct shift bit for ssiu9 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 76379dfbfd7c8fd7dd29eea3f828cf85c884829e Mon Sep 17 00:00:00 2001 From: Jiada Wang Date: Mon, 4 Feb 2019 22:41:05 +0900 Subject: [PATCH] ASoC: rsnd: ssiu: correct shift bit for ssiu9 Currently "0xf << 36" is used to clear SSIU-9 internal buffer state, which overflows 32-bit value according to user reference manual, it is always bit4 ~ bit7 of SSI_SYS_STATUS[1,3,5,7] registers indicate SSIU-9's buffer state, so "0xf << 4" should be used. This patch fix incorrect shifting issue in SSIU-9 case Fixes: commit b7169ddea2f2 ("ASoC: rsnd: remove RSND_REG_ from rsnd_reg") Signed-off-by: Jiada Wang Acked-by: Kuninori Morimoto Signed-off-by: Mark Brown --- sound/soc/sh/rcar/ssiu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/sh/rcar/ssiu.c b/sound/soc/sh/rcar/ssiu.c index c5934adcfd01..c74991dd18ab 100644 --- a/sound/soc/sh/rcar/ssiu.c +++ b/sound/soc/sh/rcar/ssiu.c @@ -79,7 +79,7 @@ static int rsnd_ssiu_init(struct rsnd_mod *mod, break; case 9: for (i = 0; i < 4; i++) - rsnd_mod_write(mod, SSI_SYS_STATUS((i * 2) + 1), 0xf << (id * 4)); + rsnd_mod_write(mod, SSI_SYS_STATUS((i * 2) + 1), 0xf << 4); break; } -- 2.20.1