Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31471
b: refs/heads/master
c: ccd214b
h: refs/heads/master
i:
  31469: 7d4b25d
  31467: 30e5c70
  31463: 6b54433
  31455: 1a2f3e2
v: v3
  • Loading branch information
Saqeb Akhter authored and Mauro Carvalho Chehab committed Jun 30, 2006
1 parent 79902de commit cea8540
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 70d906354fd7fe3956366ade15ab36d6b7aed971
refs/heads/master: ccd214b27341485bd471e4e031c33d2ba1a9aaac
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb/frontends/cx24123.c
Original file line number Diff line number Diff line change
Expand Up @@ -670,10 +670,10 @@ static int cx24123_set_voltage(struct dvb_frontend* fe, fe_sec_voltage_t voltage
switch (voltage) {
case SEC_VOLTAGE_13:
dprintk("%s: setting voltage 13V\n", __FUNCTION__);
return cx24123_writereg(state, 0x29, val | 0x80);
return cx24123_writereg(state, 0x29, val & 0x7f);
case SEC_VOLTAGE_18:
dprintk("%s: setting voltage 18V\n", __FUNCTION__);
return cx24123_writereg(state, 0x29, val & 0x7f);
return cx24123_writereg(state, 0x29, val | 0x80);
default:
return -EINVAL;
};
Expand Down

0 comments on commit cea8540

Please sign in to comment.