ASoC: pxa: Add space around ':' and '('
authorCodrut Grosu <codrut.cristian.grosu@gmail.com>
Sat, 25 Feb 2017 20:42:33 +0000 (22:42 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 7 Mar 2017 13:28:41 +0000 (14:28 +0100)
This was reported by checkpatch.pl

Signed-off-by: Codrut Grosu <codrut.cristian.grosu@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/pxa/pxa2xx-i2s.c
sound/soc/pxa/tosa.c

index 0389cf7..27aa0e4 100644 (file)
@@ -119,7 +119,7 @@ static int pxa_i2s_wait(void)
        int i;
 
        /* flush the Rx FIFO */
-       for(i = 0; i < 16; i++)
+       for (i = 0; i < 16; i++)
                SADR;
        return 0;
 }
index e022b2a..1812748 100644 (file)
@@ -133,7 +133,7 @@ static int tosa_set_spk(struct snd_kcontrol *kcontrol,
 static int tosa_hp_event(struct snd_soc_dapm_widget *w,
        struct snd_kcontrol *k, int event)
 {
-       gpio_set_value(TOSA_GPIO_L_MUTE, SND_SOC_DAPM_EVENT_ON(event) ? 1 :0);
+       gpio_set_value(TOSA_GPIO_L_MUTE, SND_SOC_DAPM_EVENT_ON(event) ? 1 : 0);
        return 0;
 }