Commit e713b514 authored by Hermes Wu's avatar Hermes Wu Committed by Greg Kroah-Hartman
Browse files

drm/bridge: it6505: fix HDCP V match check is not performed correctly



[ Upstream commit a5072fc7 ]

Fix a typo where V compare incorrectly compares av[] with av[] itself,
which can result in HDCP failure.

The loop of V compare is expected to iterate for 5 times
which compare V array form av[0][] to av[4][].
It should check loop counter reach the last statement "i == 5"
before return true

Fixes: 0989c02c ("drm/bridge: it6505: fix HDCP CTS compare V matching")
Signed-off-by: default avatarHermes Wu <Hermes.wu@ite.com.tw>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: default avatarRobert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20250121-fix-hdcp-v-comp-v4-1-185f45c728dc@ite.com.tw


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 21daa13f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment