nouveau/uconn: drop WARN_ON and pointless ret setting.
Subsystems (3)
Dave Airlie
maintainerPATCH 1/1 nouveau/uconn: drop WARN_ON and pointless ret setting.
From: Dave Airlie <[email protected]>
With GSP on my laptop I get an 0xff connector type, it appears this is normal behaviour and we should ignore that connector.
Now we don't handle that all properly, but anywhere I try to ignore it at that point causes driver load to fail, so let's not do that, and just drop the warn and ret setting (which gets set to 0 a few lines later).
Signed-off-by Dave Airlie <[email protected]>
--- drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c +0 -2
@@ -211,8 +211,6 @@ nvkm_uconn_new(const struct nvkm_oclass *oclass, void *argv, u32 argc, struct nvcase DCB_CONNECTOR_HDMI_1 :case DCB_CONNECTOR_HDMI_C : args->v0.type =NVIF_CONN_V0_HDMI ;break ;default : -WARN_ON (1 ); - ret = -EINVAL ;break ; }
Signature · 1 line
2.45.1