Skip to content

Commit 6bf88a3

Browse files
committed
ALSA: hda: Remove superfluous '-' added by printk conversion
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") Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent 098a0a6 commit 6bf88a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/pci/hda/hda_codec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1824,7 +1824,7 @@ static int get_kctl_0dB_offset(struct hda_codec *codec,
18241824
return -1;
18251825
if (*step_to_check && *step_to_check != step) {
18261826
codec_err(codec, "Mismatching dB step for vmaster slave (%d!=%d)\n",
1827-
- *step_to_check, step);
1827+
*step_to_check, step);
18281828
return -1;
18291829
}
18301830
*step_to_check = step;

0 commit comments

Comments
 (0)