aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPeilin Ye <[email protected]>2020-08-21 17:13:43 +0200
committerMauro Carvalho Chehab <[email protected]>2020-08-26 18:51:34 +0200
commit45c2044ccbedd48bc2a8cddde9ce7e82f03d588c (patch)
treeea7298df251c6cd3bec5e2a016093787b2c4a73b /tools/perf/scripts/python
parente3158a5e7e661786b3ab650c7e4d21024e8eff0f (diff)
media: v4l2-tpg: Clamp hue in tpg_s_hue()
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]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions