summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaoyu Lu <hechushiguitu666@gmail.com>2026-03-30 11:34:25 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-03-31 11:34:30 +0300
commit65978823ceeb290eaf5add2c36d8d04613160b78 (patch)
tree6f4c104ce65ceea18b054b560106b592d6256e7a
parenta5a1b468de7555c15f4b1a14d4ca443bd194a299 (diff)
downloadlinux-65978823ceeb290eaf5add2c36d8d04613160b78.tar.xz
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>
-rw-r--r--drivers/staging/greybus/audio_codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/audio_codec.c b/drivers/staging/greybus/audio_codec.c
index 444c53b4e08d..720aa752e17e 100644
--- a/drivers/staging/greybus/audio_codec.c
+++ b/drivers/staging/greybus/audio_codec.c
@@ -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;
}
}