提交 b94525bf 编写于 作者: P Peter Ujfalusi 提交者: Mark Brown

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: NPeter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 30f40bf6
...@@ -145,17 +145,17 @@ static const struct snd_soc_dapm_route tas2552_audio_map[] = { ...@@ -145,17 +145,17 @@ static const struct snd_soc_dapm_route tas2552_audio_map[] = {
}; };
#ifdef CONFIG_PM #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; u8 cfg1_reg = 0;
if (!tas_data->codec) if (!tas2552->codec)
return; return;
if (sw_shutdown) if (sw_shutdown)
cfg1_reg = TAS2552_SWS; 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); cfg1_reg);
} }
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册