diff options
Diffstat (limited to 'sound/firewire/bebob/bebob.c')
-rw-r--r-- | sound/firewire/bebob/bebob.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/firewire/bebob/bebob.c b/sound/firewire/bebob/bebob.c index dbd12c360046..b7d70c2e4e87 100644 --- a/sound/firewire/bebob/bebob.c +++ b/sound/firewire/bebob/bebob.c | |||
@@ -153,6 +153,7 @@ bebob_probe(struct fw_unit *unit, | |||
153 | bebob->unit = unit; | 153 | bebob->unit = unit; |
154 | mutex_init(&bebob->mutex); | 154 | mutex_init(&bebob->mutex); |
155 | spin_lock_init(&bebob->lock); | 155 | spin_lock_init(&bebob->lock); |
156 | init_waitqueue_head(&bebob->hwdep_wait); | ||
156 | 157 | ||
157 | err = name_device(bebob, entry->vendor_id); | 158 | err = name_device(bebob, entry->vendor_id); |
158 | if (err < 0) | 159 | if (err < 0) |
@@ -175,6 +176,10 @@ bebob_probe(struct fw_unit *unit, | |||
175 | if (err < 0) | 176 | if (err < 0) |
176 | goto error; | 177 | goto error; |
177 | 178 | ||
179 | err = snd_bebob_create_hwdep_device(bebob); | ||
180 | if (err < 0) | ||
181 | goto error; | ||
182 | |||
178 | err = snd_bebob_stream_init_duplex(bebob); | 183 | err = snd_bebob_stream_init_duplex(bebob); |
179 | if (err < 0) | 184 | if (err < 0) |
180 | goto error; | 185 | goto error; |