aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/dss/dsi.c
diff options
context:
space:
mode:
authorArmin Wolf <[email protected]>2025-01-19 20:17:23 +0000
committerIlpo Järvinen <[email protected]>2025-01-20 12:16:59 +0000
commit3ef4ea516c2f8a2f1ff8ca59b156fb2e4472c2a4 (patch)
treeb5bfa534e8d1013bafb82f0af3fe4348641c3bf6 /drivers/gpu/drm/omapdrm/dss/dsi.c
parentplatform/x86: acer-wmi: Ignore AC events (diff)
downloadkernel-3ef4ea516c2f8a2f1ff8ca59b156fb2e4472c2a4.tar.gz
kernel-3ef4ea516c2f8a2f1ff8ca59b156fb2e4472c2a4.zip
platform/x86: acer-wmi: Fix initialization of last_non_turbo_profile
On machines that do not support the balanced profile the value of last_non_turbo_profile is invalid after initialization which might cause the driver to switch to an unsupported platform profile later. Fix this by only setting last_non_turbo_profile to supported platform profile values. Fixes: 191e21f1a4c3 ("platform/x86: acer-wmi: use an ACPI bitmap to set the platform profile choices") Signed-off-by: Armin Wolf <[email protected]> Tested-by: Hridesh MG <[email protected]> Reviewed-by: Hridesh MG <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/dss/dsi.c')
0 files changed, 0 insertions, 0 deletions