]> git.hungrycats.org Git - linux/commitdiff
ALSA: hda: Remove superfluous '-' added by printk conversion
authorTakashi Iwai <tiwai@suse.de>
Tue, 17 Oct 2017 09:58:17 +0000 (11:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Oct 2017 08:39:13 +0000 (10:39 +0200)
commit 6bf88a343db2b3c160edf9b82a74966b31cc80bd upstream.

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")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/hda_codec.c

index 821aad374a0695a46c4c265365b71a81aa134412..cbc9862695911c9070ae7b8fb740a3199e345884 100644 (file)
@@ -1824,7 +1824,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;