summaryrefslogtreecommitdiff
path: root/sound/soc/sof/debug.c
diff options
context:
space:
mode:
authorMark Pearson <mpearson-lenovo@squebb.ca>2023-04-03 04:31:20 +0300
committerHans de Goede <hdegoede@redhat.com>2023-04-03 12:36:44 +0300
commit7065655216d4d034d71164641f3bec0b189ad6fa (patch)
tree289a23d101a7f731aa1db00c89e088d589bf6341 /sound/soc/sof/debug.c
parente7d796fccdc8d17c2d21817ebe4c7bf5bbfe5433 (diff)
downloadlinux-7065655216d4d034d71164641f3bec0b189ad6fa.tar.xz
platform/x86: think-lmi: Clean up display of current_value on Thinkstation
On ThinkStations on retrieving the attribute value the BIOS appends the possible values to the string. Clean up the display in the current_value_show function so the options part is not displayed. Fixes: a40cd7ef22fb ("platform/x86: think-lmi: Add WMI interface support on Lenovo platforms") Reported by Mario Limoncello <Mario.Limonciello@amd.com> Link: https://github.com/fwupd/fwupd/issues/5077#issuecomment-1488730526 Signed-off-by: Mark Pearson <mpearson-lenovo@squebb.ca> Link: https://lore.kernel.org/r/20230403013120.2105-2-mpearson-lenovo@squebb.ca Tested-by: Mario Limonciello <mario.limonciello@amd.com> Tested-by: Mirsad Goran Todorovac <mirsad.todorovac@alu.unizg.hr> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'sound/soc/sof/debug.c')
0 files changed, 0 insertions, 0 deletions