diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2015-06-08 08:19:55 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-06-08 13:53:19 -0400 |
commit | b94525bfda1f2d1efc6e3cb0f33be2341ca67385 (patch) | |
tree | 526b26e0bcd2dd74e60d0ffee7b26d4c4530303d | |
parent | 30f40bf6f3ec081a0bcf8e39329892be1c219cca (diff) |
ASoC: tas2552: Use consistent name for 'struct tas2552_data'
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>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/codecs/tas2552.c | 6 |
1 files 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[] = { | |||
145 | }; | 145 | }; |
146 | 146 | ||
147 | #ifdef CONFIG_PM | 147 | #ifdef CONFIG_PM |
148 | static void tas2552_sw_shutdown(struct tas2552_data *tas_data, int sw_shutdown) | 148 | static void tas2552_sw_shutdown(struct tas2552_data *tas2552, int sw_shutdown) |
149 | { | 149 | { |
150 | u8 cfg1_reg = 0; | 150 | u8 cfg1_reg = 0; |
151 | 151 | ||
152 | if (!tas_data->codec) | 152 | if (!tas2552->codec) |
153 | return; | 153 | return; |
154 | 154 | ||
155 | if (sw_shutdown) | 155 | if (sw_shutdown) |
156 | cfg1_reg = TAS2552_SWS; | 156 | cfg1_reg = TAS2552_SWS; |
157 | 157 | ||
158 | snd_soc_update_bits(tas_data->codec, TAS2552_CFG_1, TAS2552_SWS, | 158 | snd_soc_update_bits(tas2552->codec, TAS2552_CFG_1, TAS2552_SWS, |
159 | cfg1_reg); | 159 | cfg1_reg); |
160 | } | 160 | } |
161 | #endif | 161 | #endif |