summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-roccat-arvo.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-07-13 12:13:47 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-08-19 08:22:39 +0200
commit505c7de51fe5ebb81fac096cb8cebd7cb45b7955 (patch)
treeff406ac0b768aaa16227cc5eeadc99d81d61d276 /drivers/hid/hid-roccat-arvo.h
parentdc48665fae5aa360e80dfdb2d6cab4fa58b27ee4 (diff)
downloadlinux-505c7de51fe5ebb81fac096cb8cebd7cb45b7955.tar.bz2
fbdev: sh_mobile_lcdc: Compute clock pattern using divider denominator
The clock divider pattern is computed based on the dot clock register value which stores the divider denumerator. However, when using a 1:1 divider ratio, the register is programmed with a value that must not be interpreted as a denominator. This results in a shift left operation with a value of 32, which produces undefined behaviour. Compute the clock pattern using the divider denominator, not the dot clock register value. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers/hid/hid-roccat-arvo.h')
0 files changed, 0 insertions, 0 deletions