mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 02:01:18 -04:00
staging: greybus: audio: fix error message for BTN_3 button
In gbaudio_init_jack(), when setting SND_JACK_BTN_3 key, the error message incorrectly says "Failed to set BTN_0". This should be "Failed to set BTN_3" to match the button being configured. Signed-off-by: Haoyu Lu <hechushiguitu666@gmail.com> Reviewed-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20260330083425.266-1-hechushiguitu666@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a5a1b468de
commit
65978823ce
@@ -781,7 +781,7 @@ static int gbaudio_init_jack(struct gbaudio_module_info *module,
|
||||
ret = snd_jack_set_key(module->button.jack.jack, SND_JACK_BTN_3,
|
||||
KEY_VOLUMEDOWN);
|
||||
if (ret) {
|
||||
dev_err(module->dev, "Failed to set BTN_0\n");
|
||||
dev_err(module->dev, "Failed to set BTN_3\n");
|
||||
goto free_jacks;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user