]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i2c: tda998x: fix npix/nline programming
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 14 Aug 2013 19:43:28 +0000 (21:43 +0200)
committerDave Airlie <airlied@redhat.com>
Sun, 18 Aug 2013 23:10:13 +0000 (09:10 +1000)
commit920faf1d94bc23be7b957f0ff13c051ed8c2f59a
treecac7e2531eec6e18d55d3312887642010ebd1e38
parent9e6d954d95d590412cec5d7d93a06ee58107b4f5
drm/i2c: tda998x: fix npix/nline programming

The npix/nline registers are supposed to be programmed with the total
number of pixels/lines, not the displayed pixels/lines, and not minus
one either.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Tested-by: Darren Etheridge <detheridge@ti.com>
Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tested-by: Russell King <rmk_kernel@arm.linux.org.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i2c/tda998x_drv.c