Commit b91bfcda authored by Benjamin Larsson's avatar Benjamin Larsson Committed by Mauro Carvalho Chehab

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

Signed-off-by: default avatarBenjamin Larsson <benjamin@southpole.se>
Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 7b7ef4b4
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment