Commit 0e228799 authored by Lukas Kraft's avatar Lukas Kraft Committed by Lee Jones
Browse files

leds: lgm-sso: Fix typo in macro for src offset



Replace unused argument pinc with used argument pin.

Signed-off-by: default avatarLukas Kraft <rebootrequired42@gmail.com>
Link: https://patch.msgid.link/20260312210958.48467-1-rebootrequired42@gmail.com


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent fd93fc35
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@
#define LED_BLINK_H8_0			0x0
#define LED_BLINK_H8_1			0x4
#define GET_FREQ_OFFSET(pin, src)	(((pin) * 6) + ((src) * 2))
#define GET_SRC_OFFSET(pinc)		(((pin) * 6) + 4)
#define GET_SRC_OFFSET(pin) 		(((pin) * 6) + 4)

#define DUTY_CYCLE(x)			(0x8 + ((x) * 4))
#define SSO_CON0			0x2B0