Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366599
b: refs/heads/master
c: 76e41a6
h: refs/heads/master
i:
  366597: 7df4e3b
  366595: a32ba5f
  366591: 93d68ee
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Mar 21, 2013
1 parent 27d2c7c commit 11a7c56
Show file tree
Hide file tree
Showing 2 changed files with 5 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: faab6820b3c11ca62fd2284d2e5174ccb0650b05
refs/heads/master: 76e41a655ae68b3e0468a3ef497a57415a77b54b
6 changes: 4 additions & 2 deletions trunk/drivers/media/common/siano/smsdvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ struct smsdvb_client_t {
fe_status_t fe_status;

struct completion tune_done;
struct completion stats_done;

struct SMSHOSTLIB_STATISTICS_DVB_S sms_stat_dvb;
int event_fe_state;
Expand Down Expand Up @@ -349,7 +350,6 @@ static int smsdvb_onresponse(void *context, struct smscore_buffer_t *cb)
pReceptionData->ErrorTSPackets = 0;
}

complete(&client->tune_done);
break;
}
default:
Expand All @@ -376,6 +376,7 @@ static int smsdvb_onresponse(void *context, struct smscore_buffer_t *cb)
client->fe_status = 0;
sms_board_dvb3_event(client, DVB3_EVENT_FE_UNLOCK);
}
complete(&client->stats_done);
}

return 0;
Expand Down Expand Up @@ -471,7 +472,7 @@ static int smsdvb_send_statistics_request(struct smsdvb_client_t *client)
sizeof(struct SmsMsgHdr_ST), 0 };

rc = smsdvb_sendrequest_and_wait(client, &Msg, sizeof(Msg),
&client->tune_done);
&client->stats_done);

return rc;
}
Expand Down Expand Up @@ -1002,6 +1003,7 @@ static int smsdvb_hotplug(struct smscore_device_t *coredev,
client->coredev = coredev;

init_completion(&client->tune_done);
init_completion(&client->stats_done);

kmutex_lock(&g_smsdvb_clientslock);

Expand Down

0 comments on commit 11a7c56

Please sign in to comment.