diff options
Diffstat (limited to 'drivers/media/dvb/bt8xx/dst_ca.c')
-rw-r--r-- | drivers/media/dvb/bt8xx/dst_ca.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/dvb/bt8xx/dst_ca.c b/drivers/media/dvb/bt8xx/dst_ca.c index c650b4bf7f5f..f6b49a801eba 100644 --- a/drivers/media/dvb/bt8xx/dst_ca.c +++ b/drivers/media/dvb/bt8xx/dst_ca.c | |||
@@ -81,7 +81,7 @@ static int dst_ci_command(struct dst_state* state, u8 * data, u8 *ca_string, u8 | |||
81 | { | 81 | { |
82 | u8 reply; | 82 | u8 reply; |
83 | 83 | ||
84 | down(&state->dst_mutex); | 84 | mutex_lock(&state->dst_mutex); |
85 | dst_comm_init(state); | 85 | dst_comm_init(state); |
86 | msleep(65); | 86 | msleep(65); |
87 | 87 | ||
@@ -110,11 +110,11 @@ static int dst_ci_command(struct dst_state* state, u8 * data, u8 *ca_string, u8 | |||
110 | goto error; | 110 | goto error; |
111 | } | 111 | } |
112 | } | 112 | } |
113 | up(&state->dst_mutex); | 113 | mutex_unlock(&state->dst_mutex); |
114 | return 0; | 114 | return 0; |
115 | 115 | ||
116 | error: | 116 | error: |
117 | up(&state->dst_mutex); | 117 | mutex_unlock(&state->dst_mutex); |
118 | return -EIO; | 118 | return -EIO; |
119 | } | 119 | } |
120 | 120 | ||