diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-10-17 05:58:17 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-10-18 06:26:59 -0400 |
commit | 6bf88a343db2b3c160edf9b82a74966b31cc80bd (patch) | |
tree | 383458701a1504d65676659a6103f98a9f1ce07a | |
parent | 098a0a62c1554f5a3813ef1b8539563214ada8f6 (diff) |
ALSA: hda: Remove superfluous '-' added by printk conversion
While converting the error messages to the standard macros in the
commit 4e76a8833fac ("ALSA: hda - Replace with standard printk"), a
superfluous '-' slipped in the code mistakenly. Its influence is
almost negligible, merely shows a dB value as negative integer instead
of positive integer (or vice versa) in the rare error message.
So let's kill this embarrassing byte to show more correct value.
Fixes: 4e76a8833fac ("ALSA: hda - Replace with standard printk")
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/pci/hda/hda_codec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 3db26c451837..b6cf9684c2ec 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c | |||
@@ -1824,7 +1824,7 @@ static int get_kctl_0dB_offset(struct hda_codec *codec, | |||
1824 | return -1; | 1824 | return -1; |
1825 | if (*step_to_check && *step_to_check != step) { | 1825 | if (*step_to_check && *step_to_check != step) { |
1826 | codec_err(codec, "Mismatching dB step for vmaster slave (%d!=%d)\n", | 1826 | codec_err(codec, "Mismatching dB step for vmaster slave (%d!=%d)\n", |
1827 | - *step_to_check, step); | 1827 | *step_to_check, step); |
1828 | return -1; | 1828 | return -1; |
1829 | } | 1829 | } |
1830 | *step_to_check = step; | 1830 | *step_to_check = step; |