drm/bridge: cdns-mhdp8546: Fix use of uninitialized variable
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Fri, 3 Nov 2023 13:14:05 +0000 (15:14 +0200)
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Thu, 7 Dec 2023 07:21:44 +0000 (09:21 +0200)
commit155d6fb61270dd297f128731cd155080deee8f3a
tree97296213ac85468f30aa9f7b96482a25d3aed50b
parentf9af8f0c1dc567a5a6a6318ff324c45d80d4a60f
drm/bridge: cdns-mhdp8546: Fix use of uninitialized variable

'ret' could be uninitialized at the end of the function, although it's
not clear if that can happen in practice.

Fixes: 6a3608eae6d3 ("drm: bridge: cdns-mhdp8546: Enable HDCP")
Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231103-uninit-fixes-v2-3-c22b2444f5f5@ideasonboard.com
drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-hdcp.c