[media] stb0899: fixed reading of IF_AGC_GAIN register
authorAndreas Regel <andreas.regel@gmx.de>
Tue, 28 Feb 2012 17:40:44 +0000 (14:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 19 Mar 2012 14:22:52 +0000 (11:22 -0300)
commitef3d23de05254179b7f9e718eae276e5b67e1ba6
tree33e30e865226da7f68fb502183c3dda6b872a5a1
parent91caad3195e3b622f2a878869aab40d094106d33
[media] stb0899: fixed reading of IF_AGC_GAIN register

When reading IF_AGC_GAIN register a wrong value for the base address
register was used (STB0899_DEMOD instead of STB0899_S2DEMOD). That
lead to a wrong signal strength value on DVB-S2 transponders.

Signed-off-by: Andreas Regel <andreas.regel@gmx.de>
Acked-by: Klaus Schmidinger <Klaus.Schmidinger@tvdr.de>
Cc: Manu Abraham <abraham.manu@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/stb0899_drv.c