Thread (47 messages) 47 messages, 7 authors, 2017-05-03

Re: [PATCH 10/15] drm/sun4i: tcon: Switch mux on only for composite

From: Stefan Monnier <hidden>
Date: 2017-03-08 04:57:55
Also in: dri-devel, linux-arm-kernel, linux-clk, lkml

quoted
+       if (encoder->encoder_type == DRM_MODE_ENCODER_TVDAC)
+               val = 1;
+       else
+               val = 0;
Isn't this better written as

           val = (encoder->encoder_type == DRM_MODE_ENCODER_TVDAC);


-- Stefan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help