mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
Setting `hue` by calling tpg_s_hue() directly is risky, since it does not perform range check. Clamp `hue` to the valid range in tpg_s_hue(). Suggested-by: Hans Verkuil <[email protected]> Signed-off-by: Peilin Ye <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>