diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-10-17 11:58:17 +0200 |
---|---|---|
committer | Sasha Levin <alexander.levin@verizon.com> | 2017-11-05 23:54:35 -0500 |
commit | f9db7f70613c583cf0fe142dc3a559687bb273ce (patch) | |
tree | 2f01f4cf8c61a720f671f3ed6130f818e1e5e103 /sound | |
parent | 9f9ab96db08bbb3120bb484ff1bad5349490d3ba (diff) |
ALSA: hda: Remove superfluous '-' added by printk conversion
[ Upstream commit 6bf88a343db2b3c160edf9b82a74966b31cc80bd ]
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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Diffstat (limited to 'sound')
-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 57197bef5f5b..8cd701dbd52c 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -1958,7 +1958,7 @@ static int get_kctl_0dB_offset(struct hda_codec *codec, return -1; if (*step_to_check && *step_to_check != step) { codec_err(codec, "Mismatching dB step for vmaster slave (%d!=%d)\n", -- *step_to_check, step); + *step_to_check, step); return -1; } *step_to_check = step; |