Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent 7b7ef4b4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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