Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103819
b: refs/heads/master
c: ace7d4b
h: refs/heads/master
i:
  103817: b3a8d6d
  103815: bd4b9b1
v: v3
  • Loading branch information
Tobias Lorenz authored and Mauro Carvalho Chehab committed Jul 20, 2008
1 parent db6f6d9 commit d44e870
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a7c850a07eddf0e0f515d57b2ce696a9779c6ed1
refs/heads/master: ace7d4bbe6170ef9b72bfa82c3e5769d250fffae
4 changes: 3 additions & 1 deletion trunk/drivers/media/radio/radio-si470x.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
* - unplugging fixed
* 2008-05-07 Tobias Lorenz <tobias.lorenz@gmx.net>
* Version 1.0.8
* - afc indication
* - more safety checks, let si470x_get_freq return errno
*
* ToDo:
Expand Down Expand Up @@ -1390,7 +1391,8 @@ static int si470x_vidioc_g_tuner(struct file *file, void *priv,
* 0x0101;

/* automatic frequency control: -1: freq to low, 1 freq to high */
tuner->afc = 0;
/* AFCRL does only indicate that freq. differs, not if too low/high */
tuner->afc = (radio->registers[STATUSRSSI] & STATUSRSSI_AFCRL) ? 1 : 0;

done:
if (retval < 0)
Expand Down

0 comments on commit d44e870

Please sign in to comment.