Commit c1a4ecd9 authored by Jesper Juhl's avatar Jesper Juhl Committed by Mark Brown

ASoC: wm8994: Delete trailing whitespace from sound/soc/codecs/wm8994.c

While reading through sound/soc/codecs/wm8994.c I noticed a fair
amount of trailing whitespace. This patch gets rid of it.
Signed-off-by: default avatarJesper Juhl <jj@chaosbits.net>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent fbe5c580
...@@ -398,7 +398,7 @@ static void wm8994_set_retune_mobile(struct snd_soc_codec *codec, int block) ...@@ -398,7 +398,7 @@ static void wm8994_set_retune_mobile(struct snd_soc_codec *codec, int block)
wm8994->dac_rates[iface]); wm8994->dac_rates[iface]);
/* The EQ will be disabled while reconfiguring it, remember the /* The EQ will be disabled while reconfiguring it, remember the
* current configuration. * current configuration.
*/ */
save = snd_soc_read(codec, base); save = snd_soc_read(codec, base);
save &= WM8994_AIF1DAC1_EQ_ENA; save &= WM8994_AIF1DAC1_EQ_ENA;
...@@ -994,7 +994,7 @@ static void wm8994_update_class_w(struct snd_soc_codec *codec) ...@@ -994,7 +994,7 @@ static void wm8994_update_class_w(struct snd_soc_codec *codec)
WM8994_CP_DYN_SRC_SEL_MASK, WM8994_CP_DYN_SRC_SEL_MASK,
source | WM8994_CP_DYN_PWR); source | WM8994_CP_DYN_PWR);
wm8994->hubs.class_w = true; wm8994->hubs.class_w = true;
} else { } else {
dev_dbg(codec->dev, "Class W disabled\n"); dev_dbg(codec->dev, "Class W disabled\n");
snd_soc_update_bits(codec, WM8994_CLASS_W_1, snd_soc_update_bits(codec, WM8994_CLASS_W_1,
...@@ -1361,7 +1361,7 @@ static const struct snd_kcontrol_new wm8958_aif3adc_mux = ...@@ -1361,7 +1361,7 @@ static const struct snd_kcontrol_new wm8958_aif3adc_mux =
SOC_DAPM_ENUM("AIF3ADC Mux", wm8958_aif3adc_enum); SOC_DAPM_ENUM("AIF3ADC Mux", wm8958_aif3adc_enum);
static const char *mono_pcm_out_text[] = { static const char *mono_pcm_out_text[] = {
"None", "AIF2ADCL", "AIF2ADCR", "None", "AIF2ADCL", "AIF2ADCR",
}; };
static const struct soc_enum mono_pcm_out_enum = static const struct soc_enum mono_pcm_out_enum =
...@@ -2138,7 +2138,7 @@ static int wm8994_set_dai_sysclk(struct snd_soc_dai *dai, ...@@ -2138,7 +2138,7 @@ static int wm8994_set_dai_sysclk(struct snd_soc_dai *dai,
case WM8994_SYSCLK_OPCLK: case WM8994_SYSCLK_OPCLK:
/* Special case - a division (times 10) is given and /* Special case - a division (times 10) is given and
* no effect on main clocking. * no effect on main clocking.
*/ */
if (freq) { if (freq) {
for (i = 0; i < ARRAY_SIZE(opclk_divs); i++) for (i = 0; i < ARRAY_SIZE(opclk_divs); i++)
...@@ -2940,14 +2940,14 @@ static void wm8994_handle_retune_mobile_pdata(struct wm8994_priv *wm8994) ...@@ -2940,14 +2940,14 @@ static void wm8994_handle_retune_mobile_pdata(struct wm8994_priv *wm8994)
/* Expand the array... */ /* Expand the array... */
t = krealloc(wm8994->retune_mobile_texts, t = krealloc(wm8994->retune_mobile_texts,
sizeof(char *) * sizeof(char *) *
(wm8994->num_retune_mobile_texts + 1), (wm8994->num_retune_mobile_texts + 1),
GFP_KERNEL); GFP_KERNEL);
if (t == NULL) if (t == NULL)
continue; continue;
/* ...store the new entry... */ /* ...store the new entry... */
t[wm8994->num_retune_mobile_texts] = t[wm8994->num_retune_mobile_texts] =
pdata->retune_mobile_cfgs[i].name; pdata->retune_mobile_cfgs[i].name;
/* ...and remember the new version. */ /* ...and remember the new version. */
...@@ -3889,7 +3889,6 @@ static int wm8994_codec_probe(struct snd_soc_codec *codec) ...@@ -3889,7 +3889,6 @@ static int wm8994_codec_probe(struct snd_soc_codec *codec)
ARRAY_SIZE(wm8994_dac_widgets)); ARRAY_SIZE(wm8994_dac_widgets));
break; break;
} }
wm_hubs_add_analogue_routes(codec, 0, 0); wm_hubs_add_analogue_routes(codec, 0, 0);
snd_soc_dapm_add_routes(dapm, intercon, ARRAY_SIZE(intercon)); snd_soc_dapm_add_routes(dapm, intercon, ARRAY_SIZE(intercon));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment