From patchwork Thu Jul 31 06:52:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 4654141 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BBF5B9F2B8 for ; Thu, 31 Jul 2014 06:53:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0A568201EF for ; Thu, 31 Jul 2014 06:53:56 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id C9FCF201CE for ; Thu, 31 Jul 2014 06:53:52 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 002F2265134; Thu, 31 Jul 2014 08:53:46 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 58814261B33; Thu, 31 Jul 2014 08:53:12 +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 9EE87264F02; Thu, 31 Jul 2014 08:53:07 +0200 (CEST) Received: from mail-pd0-f179.google.com (mail-pd0-f179.google.com [209.85.192.179]) by alsa0.perex.cz (Postfix) with ESMTP id ADB05261AAF for ; Thu, 31 Jul 2014 08:52:51 +0200 (CEST) Received: by mail-pd0-f179.google.com with SMTP id ft15so2907153pdb.38 for ; Wed, 30 Jul 2014 23:52:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:message-id:from:subject:user-agent:to:cc:mime-version :content-type; bh=m8w5cHQYBpCVPWW81IU8uabgaM2te8jEghAuJws56Ck=; b=Nc9JMQkMD1S69SezOu4V9DiBIymKZLYZ9zzN1+IU4FkgTpIMUSpxUvnx68E62Zyigc FdY72+r7magBbZcsiWM7bADxs0KxHSLyHjJWsbu4tLeV7XXi18nVeMrKsN5+Gf+pzWWt EBfJl18kILOSVN2enhuYUduf9+ijfdaO59b3LnKICs2flm7qHSPRnLgAay0S020dSIlh JJx6Gd727oycAngwCdxaQgw8S1gZStgE37FGGspl27mssJt5Ff2sFywbe88/BXF+9Z3x xsaR81iZbjzcpovAw4Fuan4GPz99m/hLPQYp9wM/0v2/MTObwW9C3y2lsdzlftdJ40u0 gvPQ== X-Received: by 10.68.143.100 with SMTP id sd4mr2094234pbb.76.1406789570659; Wed, 30 Jul 2014 23:52:50 -0700 (PDT) Received: from remon.gmail.com (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPSA id br1sm4415058pbc.6.2014.07.30.23.52.49 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 30 Jul 2014 23:52:50 -0700 (PDT) Date: Wed, 30 Jul 2014 23:52:50 -0700 (PDT) Message-ID: <87d2cmuiin.wl%kuninori.morimoto.gx@gmail.com> From: Kuninori Morimoto User-Agent: Wanderlust/2.14.0 Emacs/23.3 Mule/6.0 To: Mark Brown MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Cc: Linux-ALSA , Simon , Liam Girdwood , Kuninori Morimoto Subject: [alsa-devel] [PATCH] ASoC: rsnd: add missing dev_dbg() in rsnd_bset() 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto b8c637864a6904a9ba8e0df556d5bdf9f26b2c54 (ASoC: rsnd: use regmap_mmio instead of original regmap bus) used regmap_mmio and modified dev_dbg() for rsnd_read/write(). But rsnd_bset() is missing it. Signed-off-by: Kuninori Morimoto --- sound/soc/sh/rcar/gen.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sound/soc/sh/rcar/gen.c b/sound/soc/sh/rcar/gen.c index 5db0557..3fdf3be 100644 --- a/sound/soc/sh/rcar/gen.c +++ b/sound/soc/sh/rcar/gen.c @@ -92,6 +92,7 @@ void rsnd_write(struct rsnd_priv *priv, void rsnd_bset(struct rsnd_priv *priv, struct rsnd_mod *mod, enum rsnd_reg reg, u32 mask, u32 data) { + struct device *dev = rsnd_priv_to_dev(priv); struct rsnd_gen *gen = rsnd_priv_to_gen(priv); if (!rsnd_is_accessible_reg(priv, gen, reg)) @@ -99,6 +100,9 @@ void rsnd_bset(struct rsnd_priv *priv, struct rsnd_mod *mod, regmap_fields_update_bits(gen->regs[reg], rsnd_mod_id(mod), mask, data); + + dev_dbg(dev, "b %s - 0x%04d : %08x/%08x\n", + rsnd_mod_name(mod), reg, data, mask); } #define rsnd_gen_regmap_init(priv, id_size, reg_id, conf) \