• Stefan Agner's avatar
    drm/fsl-dcu: fix register initialization · f76b9873
    Stefan Agner authored
    The layer enumeration start with 0 (0-15 for LS1021a and 0-63 for
    Vybrid) whereas the register enumeration start from 1 (1-10 for
    LS1021a and 1-9 for Vybrid). The loop started off from 0 for both
    iterations and initialized the number of layers inclusive, which
    is one layer too many.
    
    All extensively written registers seem to be unassigned, it seems
    that the write to those registers did not do any harm in practice.
    Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
    f76b9873
fsl_dcu_drm_crtc.c 5.31 KB