diff options
author | Tomer Barletz | 2015-08-02 11:08:57 +0200 |
---|---|---|
committer | Takashi Iwai | 2015-08-03 10:15:09 +0200 |
commit | 8ec7cfce3762299ae289c384e281b2f4010ae231 (patch) | |
tree | 082448607171fa20a7f7520e9a0218cf2a52eea6 /sound/pci/oxygen/oxygen_mixer.c | |
parent | ALSA: hda - Fix MacBook Pro 5,2 quirk (diff) | |
download | kernel-qcow2-linux-8ec7cfce3762299ae289c384e281b2f4010ae231.tar.gz kernel-qcow2-linux-8ec7cfce3762299ae289c384e281b2f4010ae231.tar.xz kernel-qcow2-linux-8ec7cfce3762299ae289c384e281b2f4010ae231.zip |
ALSA: oxygen: Fix logical-not-parentheses warning
This fixes the following warning, that is seen with gcc 5.1:
warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses].
Signed-off-by: Tomer Barletz <barletz@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/oxygen/oxygen_mixer.c')
-rw-r--r-- | sound/pci/oxygen/oxygen_mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/oxygen/oxygen_mixer.c b/sound/pci/oxygen/oxygen_mixer.c index 6492bca8c70f..4ca12665ff73 100644 --- a/sound/pci/oxygen/oxygen_mixer.c +++ b/sound/pci/oxygen/oxygen_mixer.c @@ -88,7 +88,7 @@ static int dac_mute_put(struct snd_kcontrol *ctl, int changed; mutex_lock(&chip->mutex); - changed = !value->value.integer.value[0] != chip->dac_mute; + changed = (!value->value.integer.value[0]) != chip->dac_mute; if (changed) { chip->dac_mute = !value->value.integer.value[0]; chip->model.update_dac_mute(chip); |