[PATCH 2/7] drm: atmel-hlcdc: avoid initializing cfg with zero
Sam Ravnborg
sam at ravnborg.org
Thu Feb 28 21:41:21 UTC 2019
On Wed, Feb 27, 2019 at 04:24:21PM +0000, Claudiu.Beznea at microchip.com wrote:
> From: Claudiu Beznea <claudiu.beznea at microchip.com>
>
> Remove cfg initialization with zero and read state with
> drm_crtc_state_to_atmel_hlcdc_crtc_state() so that cfg to be initialized
> with state's output_mode.
>
> Signed-off-by: Claudiu Beznea <claudiu.beznea at microchip.com>
Looks good, good to have simpler code.
Reviewed-by: Sam Ravnborg <sam at ravnborg.org>
More information about the dri-devel
mailing list