mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
staging: bcm2835-audio: move logical continuation to the same line
Keep logical continuations on the same line to improve code readability Signed-off-by: Aishwarya Pant <aishpant@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d561c88560
commit
01fb592f93
1 changed files with 1 additions and 2 deletions
|
|
@ -122,8 +122,7 @@ static int snd_bcm2835_ctl_put(struct snd_kcontrol *kcontrol,
|
|||
changed = 1; /* should return 0 to signify no change but the mixer takes this as the opposite sign (no idea why) */
|
||||
goto unlock;
|
||||
}
|
||||
if (changed
|
||||
|| (ucontrol->value.integer.value[0] != chip2alsa(chip->volume))) {
|
||||
if (changed || (ucontrol->value.integer.value[0] != chip2alsa(chip->volume))) {
|
||||
|
||||
chip->volume = alsa2chip(ucontrol->value.integer.value[0]);
|
||||
changed = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue