DVB: pluto2: fix incorrect TSCR register setting
commit6beeeb80630839e09763ee7102fb82e48cdb4e3e
authorAndreas Oberritter <obi@linuxtv.org>
Sun, 8 Apr 2007 14:56:40 +0000 (8 10:56 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 13 Apr 2007 20:47:02 +0000 (13 13:47 -0700)
tree32965fd0e0c2c1c102f70aafe241f62d2d61cead
parente298396771fd1d4f459fd8ae35c3795160b79652
DVB: pluto2: fix incorrect TSCR register setting

DVB: 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.

(cherry picked from commit 1489f90a49f0603a393e1800d729050f6e332bec)

Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/dvb/pluto2/pluto2.c