From: Jean Delvare Date: Sun, 12 Feb 2012 18:03:03 +0000 (-0300) Subject: [media] cx22702: Fix signal strength X-Git-Tag: v3.4-rc1~110^2^2~143 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06302ffbb470359c8cbcf1ee8b057d6930300f90;p=pandora-kernel.git [media] cx22702: Fix signal strength The signal strength value returned is not quite correct, it decreases when I increase the gain of my antenna, and vice versa. It also doesn't span over the whole 0x0000-0xffff range. Compute a value which at least increases when signal strength increases, and spans the whole allowed range. In practice I get 67% with my antenna fully amplified and 51% with no amplification. This is close enough to what I get on my other DVB-T adapter with the same antenna. Signed-off-by: Jean Delvare Cc: Steven Toth Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed