* [PATCH] platform/x86: dell-uart-backlight: Use blacklight power constant
@ 2024-12-13 10:05 Thomas Zimmermann
2024-12-16 17:17 ` Ilpo Järvinen
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Zimmermann @ 2024-12-13 10:05 UTC (permalink / raw)
To: hdegoede, ilpo.jarvinen, platform-driver-x86
Cc: linux-kernel, Thomas Zimmermann
The backlight subsystem has gotten its own power constants. Replace
FB_BLANK_UNBLANK with BACKLIGHT_POWER_ON.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
---
drivers/platform/x86/dell/dell-uart-backlight.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/platform/x86/dell/dell-uart-backlight.c b/drivers/platform/x86/dell/dell-uart-backlight.c
index 6e5dc7e3674f..b1003c170ca1 100644
--- a/drivers/platform/x86/dell/dell-uart-backlight.c
+++ b/drivers/platform/x86/dell/dell-uart-backlight.c
@@ -159,7 +159,7 @@ static int dell_uart_set_bl_power(struct dell_uart_backlight *dell_bl, int power
set_power[0] = DELL_SOF(SET_CMD_LEN);
set_power[1] = CMD_SET_BL_POWER;
- set_power[2] = (power == FB_BLANK_UNBLANK) ? 1 : 0;
+ set_power[2] = (power == BACKLIGHT_POWER_ON) ? 1 : 0;
set_power[3] = dell_uart_checksum(set_power, 3);
ret = dell_uart_bl_command(dell_bl, set_power, SET_CMD_LEN, resp, SET_RESP_LEN);
--
2.47.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] platform/x86: dell-uart-backlight: Use blacklight power constant
2024-12-13 10:05 [PATCH] platform/x86: dell-uart-backlight: Use blacklight power constant Thomas Zimmermann
@ 2024-12-16 17:17 ` Ilpo Järvinen
0 siblings, 0 replies; 2+ messages in thread
From: Ilpo Järvinen @ 2024-12-16 17:17 UTC (permalink / raw)
To: hdegoede, platform-driver-x86, Thomas Zimmermann; +Cc: linux-kernel
On Fri, 13 Dec 2024 11:05:51 +0100, Thomas Zimmermann wrote:
> The backlight subsystem has gotten its own power constants. Replace
> FB_BLANK_UNBLANK with BACKLIGHT_POWER_ON.
>
>
Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.
The list of commits applied:
[1/1] platform/x86: dell-uart-backlight: Use blacklight power constant
commit: d44e3c57abc78cd3736197bd7800a7d5716ea8fe
--
i.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-12-16 17:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-13 10:05 [PATCH] platform/x86: dell-uart-backlight: Use blacklight power constant Thomas Zimmermann
2024-12-16 17:17 ` Ilpo Järvinen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®