6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Sam Bobrowicz <sam@xxxxxxxxxxxxxxxxxx> commit 001d3753538d26ddcbef011f5643cfff58a7f672 upstream. Light frequency was not properly returned when in auto mode and the detected frequency was 60Hz. Fixes: 19a81c1426c1 ("[media] add Omnivision OV5640 sensor driver") Cc: stable@xxxxxxxxxxxxxxx Signed-off-by: Sam Bobrowicz <sam@xxxxxxxxxxxxxxxxxx> Signed-off-by: Michal Simek <michal.simek@xxxxxxx> Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/media/i2c/ov5640.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/media/i2c/ov5640.c +++ b/drivers/media/i2c/ov5640.c @@ -1982,6 +1982,7 @@ static int ov5640_get_light_freq(struct light_freq = 50; } else { /* 60Hz */ + light_freq = 60; } }