]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
drivers/video: fsl-diu-fb: don't touch registers for unused features
authorTimur Tabi <timur@freescale.com>
Tue, 16 Oct 2012 22:33:49 +0000 (17:33 -0500)
committerTimur Tabi <timur@freescale.com>
Mon, 26 Nov 2012 19:41:20 +0000 (13:41 -0600)
commitceb001b077af64b20a8027132cfe015c80f4319d
tree7c80594b9ac6e9972c269e48b8eb2d3b8e0f677f
parent7af3b136d4e035d71c4e70c4b4a2017a10623fc0
drivers/video: fsl-diu-fb: don't touch registers for unused features

We don't use the writeback buffer, so don't initialize the registers for
that feature.

The default value for SYN_POL is already zero, so don't re-initialize it.

Writing the INT_STATUS register does nothing.

The value that we write to the PLUT register only makes sense on the
MPC8610 and P1022, so don't touch that register on the MPC5121.

Signed-off-by: Timur Tabi <timur@freescale.com>
drivers/video/fsl-diu-fb.c