Skip to content

Commit 68c6107

Browse files
tiwaigregkh
authored andcommitted
ALSA: hda: Remove superfluous '-' added by printk conversion
commit 6bf88a343db2b3c160edf9b82a74966b31cc80bd upstream. While converting the error messages to the standard macros in the commit 4e76a88 ("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: 4e76a88 ("ALSA: hda - Replace with standard printk") Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent f9e9371 commit 68c6107

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/pci/hda/hda_codec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1755,7 +1755,7 @@ static int get_kctl_0dB_offset(struct hda_codec *codec,
17551755
return -1;
17561756
if (*step_to_check && *step_to_check != step) {
17571757
codec_err(codec, "Mismatching dB step for vmaster slave (%d!=%d)\n",
1758-
- *step_to_check, step);
1758+
*step_to_check, step);
17591759
return -1;
17601760
}
17611761
*step_to_check = step;

0 commit comments

Comments
 (0)