Staging: vc04_services: bcm2835-audio: bcm2835-ctl.c: Fixed alignment to match open parenthesis
Subsystems (3)
PATCH 1/1 Staging: vc04_services: bcm2835-audio: bcm2835-ctl.c: Fixed alignment to match open parenthesis
Fixed alignment so that it matched open parenthesis.
--- .../staging/vc04_services/bcm2835-audio/bcm2835-ctl.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c +9 -9
@@ -105,7 +105,7 @@ static int snd_bcm2835_ctl_get(struct snd_kcontrol *kcontrol, }static int snd_bcm2835_ctl_put (struct snd_kcontrol *kcontrol, -struct snd_ctl_elem_value *ucontrol) +struct snd_ctl_elem_value *ucontrol) {struct bcm2835_chip *chip =snd_kcontrol_chip (kcontrol);int changed =0 ;
@@ -185,7 +185,7 @@ static struct snd_kcontrol_new snd_bcm2835_ctl[] = { };static int snd_bcm2835_spdif_default_info (struct snd_kcontrol *kcontrol, -struct snd_ctl_elem_info *uinfo) +struct snd_ctl_elem_info *uinfo) { uinfo->type =SNDRV_CTL_ELEM_TYPE_IEC958 ; uinfo->count =1 ;
@@ -193,7 +193,7 @@ static int snd_bcm2835_spdif_default_info(struct snd_kcontrol *kcontrol, }static int snd_bcm2835_spdif_default_get (struct snd_kcontrol *kcontrol, -struct snd_ctl_elem_value *ucontrol) +struct snd_ctl_elem_value *ucontrol) {struct bcm2835_chip *chip =snd_kcontrol_chip (kcontrol);int i;
@@ -210,7 +210,7 @@ static int snd_bcm2835_spdif_default_get(struct snd_kcontrol *kcontrol, }static int snd_bcm2835_spdif_default_put (struct snd_kcontrol *kcontrol, -struct snd_ctl_elem_value *ucontrol) +struct snd_ctl_elem_value *ucontrol) {struct bcm2835_chip *chip =snd_kcontrol_chip (kcontrol);unsigned int val =0 ;
@@ -230,7 +230,7 @@ static int snd_bcm2835_spdif_default_put(struct snd_kcontrol *kcontrol, }static int snd_bcm2835_spdif_mask_info (struct snd_kcontrol *kcontrol, -struct snd_ctl_elem_info *uinfo) +struct snd_ctl_elem_info *uinfo) { uinfo->type =SNDRV_CTL_ELEM_TYPE_IEC958 ; uinfo->count =1 ;
@@ -238,7 +238,7 @@ static int snd_bcm2835_spdif_mask_info(struct snd_kcontrol *kcontrol, }static int snd_bcm2835_spdif_mask_get (struct snd_kcontrol *kcontrol, -struct snd_ctl_elem_value *ucontrol) +struct snd_ctl_elem_value *ucontrol) {/* * bcm2835 supports only consumer mode and sets all other format flags
@@ -249,7 +249,7 @@ static int snd_bcm2835_spdif_mask_get(struct snd_kcontrol *kcontrol, }static int snd_bcm2835_spdif_stream_info (struct snd_kcontrol *kcontrol, -struct snd_ctl_elem_info *uinfo) +struct snd_ctl_elem_info *uinfo) { uinfo->type =SNDRV_CTL_ELEM_TYPE_IEC958 ; uinfo->count =1 ;
@@ -257,7 +257,7 @@ static int snd_bcm2835_spdif_stream_info(struct snd_kcontrol *kcontrol, }static int snd_bcm2835_spdif_stream_get (struct snd_kcontrol *kcontrol, -struct snd_ctl_elem_value *ucontrol) +struct snd_ctl_elem_value *ucontrol) {struct bcm2835_chip *chip =snd_kcontrol_chip (kcontrol);int i;
@@ -274,7 +274,7 @@ static int snd_bcm2835_spdif_stream_get(struct snd_kcontrol *kcontrol, }static int snd_bcm2835_spdif_stream_put (struct snd_kcontrol *kcontrol, -struct snd_ctl_elem_value *ucontrol) +struct snd_ctl_elem_value *ucontrol) {struct bcm2835_chip *chip =snd_kcontrol_chip (kcontrol);unsigned int val =0 ;
--
2.7.4
Greg KH
maintainerQuoted 6 lines · srishti sharma
Fixed alignment so that it matched open parenthesis.
Signed-off-by srishti sharma <[email protected]>--- .../staging/vc04_services/bcm2835-audio/bcm2835-ctl.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
What differs from your previous patch? Always properly version your patch so we know what to take.
Please fix and resend.
thanks,
greg k-h
Quoted 9 lines · Greg KH
Quoted 6 lines · srishti sharma
Fixed alignment so that it matched open parenthesis.
Signed-off-by srishti sharma <[email protected]>--- .../staging/vc04_services/bcm2835-audio/bcm2835-ctl.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)What differs from your previous patch?
The previous patch had only one check fixed , this has all checks of the type = parenthesis_alignment in the file bcm2835-ctl.c fixed . Also there was a typo in the description of the previous patch so I corrected that .
Always properly version your
Quoted 7 lines
patch so we know what to take.
Please fix and resend.
thanks,
greg k-h
Regards,
Srishti
Quoted 9 lines · srishti sharma
Quoted 8 lines · Greg KH
Quoted 6 lines · srishti sharma
Fixed alignment so that it matched open parenthesis.
Signed-off-by srishti sharma <[email protected]>--- .../staging/vc04_services/bcm2835-audio/bcm2835-ctl.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
Quoted 11 lines
Quoted 1 line
What differs from your previous patch?
The previous patch had only one check fixed , this has all checks of the type =
parenthesis_alignmentin the filebcm2835-ctl.cfixed . Also there was a typo in the description of the previous patch so I corrected that .Always properly version your
Quoted 3 lines
patch so we know what to take.
Please fix and resend.
I have re-sent version 2 .
Quoted 5 lines
Quoted 4 lines
thanks,
greg k-h
Regards,
Srishti