V4L/DVB (5496): Pluto2: fix incorrect TSCR register setting
authorAndreas Oberritter <obi@linuxtv.org>
Mon, 2 Apr 2007 13:44:35 +0000 (10:44 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 2 Apr 2007 14:03:05 +0000 (11:03 -0300)
commit1489f90a49f0603a393e1800d729050f6e332bec
tree6a3dbd5358a90da9ff6ba339e10df6c8f8981c33
parentd420cb44693b8370cbf06c3e31b4b5dec66c9f86
V4L/DVB (5496): Pluto2: fix incorrect TSCR register setting

The ADEF bits in the TSCR register have different meanings in read and
write mode. For this reason ADEF has to be reset on every
read-modify-write operation.
This patch introduces a special write function for this register, which
takes care of it.

Thanks to Holger Magnussen for pointing my nose at this problem.

Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/pluto2/pluto2.c