drm: bridge: it66121: Check drm_bridge_attach retval
authorRobert Foss <robert.foss@linaro.org>
Thu, 5 Aug 2021 18:50:39 +0000 (20:50 +0200)
committerRobert Foss <robert.foss@linaro.org>
Fri, 6 Aug 2021 08:48:25 +0000 (10:48 +0200)
commitbd03d440e2589b9c328f40ce60203adf2b19d2e2
tree6199b48b3070550d7c9e648033b4404aa23500d7
parent0c044f7d96d3e220d4a683827be3dada5e308e8e
drm: bridge: it66121: Check drm_bridge_attach retval

The return value of drm_bridge_attach() is ignored during
the it66121_bridge_attach() call, which is incorrect.

Fixes: 988156dc2fc9 ("drm: bridge: add it66121 driver")
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210805185039.402178-1-robert.foss@linaro.org
Link: https://patchwork.freedesktop.org/patch/msgid/20210805185039.402178-1-robert.foss@linaro.org
drivers/gpu/drm/bridge/ite-it66121.c