summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ibm/emac/tah.c
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2014-07-03 14:46:39 +0100
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-08-26 15:36:51 +0300
commit4d4e2c003bd6c6bdd85080bd096d54d5d251defa (patch)
tree203fe72f2f30bc3524f5dc3ca64724e8b175d780 /drivers/net/ethernet/ibm/emac/tah.c
parent62795a0d81970bfdd5866ffd87160c670a6b344c (diff)
video: da8xx-fb: preserve display width when changing HSYNC
When looking at this driver for a client, I noticed the code that configures the HSYNC pulse clobbers the display width in the same register. It only preserves the MS part of the width in bit 3 and zeros the LS part of the width in bits 9 to 4. This doesn't matter during initialization as the width is configured afterwards, but subsequent use of the FBIPUT_HSYNC ioctl would clobber the width. Preserve bits 9 to 0 of LCD_RASTER_TIMING_0_REG when configuring the horizontal sync. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/net/ethernet/ibm/emac/tah.c')
0 files changed, 0 insertions, 0 deletions