Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330680
b: refs/heads/master
c: 3cb9f4e
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Aug 6, 2012
1 parent 38823f5 commit 81a6324
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: caeb5ac7f989e107df589534cc059a47e63e7aa7
refs/heads/master: 3cb9f4e28269124d304e1886809f4f9fa9899790
8 changes: 4 additions & 4 deletions trunk/drivers/media/dvb/dvb-usb-v2/az6007.c
Original file line number Diff line number Diff line change
Expand Up @@ -637,13 +637,13 @@ static int az6007_tuner_attach(struct dvb_usb_adapter *adap)

int az6007_power_ctrl(struct dvb_usb_device *d, int onoff)
{
struct az6007_device_state *st = d_to_priv(d);
struct az6007_device_state *state = d_to_priv(d);
int ret;

pr_debug("%s()\n", __func__);

if (!st->warm) {
mutex_init(&st->mutex);
if (!state->warm) {
mutex_init(&state->mutex);

ret = az6007_write(d, AZ6007_POWER, 0, 2, NULL, 0);
if (ret < 0)
Expand Down Expand Up @@ -674,7 +674,7 @@ int az6007_power_ctrl(struct dvb_usb_device *d, int onoff)
if (ret < 0)
return ret;

st->warm = true;
state->warm = true;

return 0;
}
Expand Down

0 comments on commit 81a6324

Please sign in to comment.