Re: [PATCH 17/27] drm: bridge: dw-hdmi: Constify mode argument to internal functions

2020-05-26 Thread Neil Armstrong
On 26/05/2020 03:14, Laurent Pinchart wrote: > Several internal functions take a drm_display_mode argument to configure > the HDMI encoder or the HDMI PHY. They must not modify the mode, make > the pointer const to enforce that. > > Signed-off-by: Laurent Pinchart > --- > drivers/gpu/drm/bridge/

[PATCH 17/27] drm: bridge: dw-hdmi: Constify mode argument to internal functions

2020-05-25 Thread Laurent Pinchart
Several internal functions take a drm_display_mode argument to configure the HDMI encoder or the HDMI PHY. They must not modify the mode, make the pointer const to enforce that. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 8 +--- 1 file changed, 5 insertio