[media] r820t: change read_gain() code to match register layout

Signed-off-by: Benjamin Larsson <benjamin@southpole.se>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
Benjamin Larsson 2015-03-15 19:57:47 -03:00 committed by Mauro Carvalho Chehab
parent 7b7ef4b4a5
commit b91bfcda45
1 changed files with 1 additions and 1 deletions

View File

@ -1199,7 +1199,7 @@ static int r820t_read_gain(struct r820t_priv *priv)
if (rc < 0)
return rc;
return ((data[3] & 0x0f) << 1) + ((data[3] & 0xf0) >> 4);
return ((data[3] & 0x08) << 1) + ((data[3] & 0xf0) >> 4);
}
#if 0