[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:
parent
7b7ef4b4a5
commit
b91bfcda45
|
@ -1199,7 +1199,7 @@ static int r820t_read_gain(struct r820t_priv *priv)
|
||||||
if (rc < 0)
|
if (rc < 0)
|
||||||
return rc;
|
return rc;
|
||||||
|
|
||||||
return ((data[3] & 0x0f) << 1) + ((data[3] & 0xf0) >> 4);
|
return ((data[3] & 0x08) << 1) + ((data[3] & 0xf0) >> 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
|
Loading…
Reference in New Issue