Uwe Kleine-König a297d07b9a pwm: Fix out-of-bounds access in of_pwm_single_xlate()
With args->args_count == 2 args->args[2] is not defined. Actually the
flags are contained in args->args[1].

Fixes: 3ab7b6ac5d82 ("pwm: Introduce single-PWM of_xlate function")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/243908750d306e018a3d4bf2eb745d53ab50f663.1704835845.git.u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
2024-01-12 18:24:55 +01:00
..
2023-10-13 10:07:17 +02:00
2023-12-20 16:04:14 +01:00
2023-12-20 16:04:14 +01:00
2023-12-20 16:04:14 +01:00
2023-12-20 16:04:14 +01:00
2023-12-20 16:04:14 +01:00
2023-12-20 16:04:14 +01:00
2023-12-20 16:04:14 +01:00
2023-12-20 16:04:14 +01:00