Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366502
b: refs/heads/master
c: 4ca2866
h: refs/heads/master
v: v3
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Mar 5, 2013
1 parent 68915de commit 780f219
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 8b21eb17e749c9693eaea065f0eb95365006495c
refs/heads/master: 4ca286610f664acf3153634f3930acd2de993a9f
5 changes: 3 additions & 2 deletions trunk/drivers/media/radio/radio-rtrack2.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
*
* Converted to the radio-isa framework by Hans Verkuil <hans.verkuil@cisco.com>
* Converted to V4L2 API by Mauro Carvalho Chehab <mchehab@infradead.org>
*
* Fully tested with actual hardware and the v4l2-compliance tool.
*/

#include <linux/module.h> /* Modules */
Expand Down Expand Up @@ -81,8 +83,7 @@ static int rtrack2_s_frequency(struct radio_isa_card *isa, u32 freq)
zero(isa);

outb_p(0xc8, isa->io);
if (!v4l2_ctrl_g_ctrl(isa->mute))
outb_p(0, isa->io);
outb_p(v4l2_ctrl_g_ctrl(isa->mute), isa->io);
return 0;
}

Expand Down

0 comments on commit 780f219

Please sign in to comment.