Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: broonie@kernel.org, lgirdwood@gmail.com, dmurphy@ti.com
Cc: alsa-devel@alsa-project.org
Subject: [PATCH v3 8/9] ASoC: tas2552: Use consistent name for 'struct tas2552_data'
Date: Mon, 8 Jun 2015 15:19:55 +0300	[thread overview]
Message-ID: <1433765996-28930-9-git-send-email-peter.ujfalusi@ti.com> (raw)
In-Reply-To: <1433765996-28930-1-git-send-email-peter.ujfalusi@ti.com>

In tas2552_sw_shutdown() tas_data is used while the rest of the driver uses
tas2552 when dealing with the 'struct tas2552_data'

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---
 sound/soc/codecs/tas2552.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sound/soc/codecs/tas2552.c b/sound/soc/codecs/tas2552.c
index 534b57bff03d..169a7035d7e3 100644
--- a/sound/soc/codecs/tas2552.c
+++ b/sound/soc/codecs/tas2552.c
@@ -145,17 +145,17 @@ static const struct snd_soc_dapm_route tas2552_audio_map[] = {
 };
 
 #ifdef CONFIG_PM
-static void tas2552_sw_shutdown(struct tas2552_data *tas_data, int sw_shutdown)
+static void tas2552_sw_shutdown(struct tas2552_data *tas2552, int sw_shutdown)
 {
 	u8 cfg1_reg = 0;
 
-	if (!tas_data->codec)
+	if (!tas2552->codec)
 		return;
 
 	if (sw_shutdown)
 		cfg1_reg = TAS2552_SWS;
 
-	snd_soc_update_bits(tas_data->codec, TAS2552_CFG_1, TAS2552_SWS,
+	snd_soc_update_bits(tas2552->codec, TAS2552_CFG_1, TAS2552_SWS,
 			    cfg1_reg);
 }
 #endif
-- 
2.4.2

  parent reply	other threads:[~2015-06-08 12:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-08 12:19 [PATCH v3 0/9] ASoC: tas2552: Fixes, cleanups and improvements Peter Ujfalusi
2015-06-08 12:19 ` [PATCH v3 1/9] ASoC: tas2552: Correct the PLL configuration Peter Ujfalusi
2015-06-08 12:19 ` [PATCH v3 2/9] ASoC: tas2552: Add control for selecting DIN source Peter Ujfalusi
2015-06-08 12:19 ` [PATCH v3 3/9] ASoC: tas2552: Correct Output Data register usage Peter Ujfalusi
2015-06-08 12:19 ` [PATCH v3 4/9] ASoC: tas2552: Correct Boost Auto-Pass Through Control " Peter Ujfalusi
2015-06-08 12:19 ` [PATCH v3 5/9] ASoC: tas2552: Code, define alignment changes for uniformity Peter Ujfalusi
2015-06-08 12:19 ` [PATCH v3 6/9] ASoC: tas2552: Call pm_runtime_disable when the module is removed Peter Ujfalusi
2015-06-08 12:19 ` [PATCH v3 7/9] ASoC: tas2552: Remove unneeded semicolon Peter Ujfalusi
2015-06-08 12:19 ` Peter Ujfalusi [this message]
2015-06-08 12:19 ` [PATCH v3 9/9] ASoC: tas2552: Update DT binding document regarding clkock configuration Peter Ujfalusi
2015-06-08 17:53 ` [PATCH v3 0/9] ASoC: tas2552: Fixes, cleanups and improvements Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1433765996-28930-9-git-send-email-peter.ujfalusi@ti.com \
    --to=peter.ujfalusi@ti.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=dmurphy@ti.com \
    --cc=lgirdwood@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox