Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248177
b: refs/heads/master
c: f3f7c18
h: refs/heads/master
i:
  248175: 7ce8b59
v: v3
  • Loading branch information
Clemens Ladisch authored and Takashi Iwai committed May 11, 2011
1 parent 3c7ba22 commit a55643e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 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: 3cabffd72c303c3b5bbbbe88c95b49043898d1f3
refs/heads/master: f3f7c1837f6bcae3601fc535b339426868bf1549
9 changes: 6 additions & 3 deletions trunk/sound/firewire/isight.c
Original file line number Diff line number Diff line change
Expand Up @@ -692,9 +692,11 @@ static int isight_remove(struct device *dev)
{
struct isight *isight = dev_get_drvdata(dev);

mutex_lock(&isight->mutex);
isight_pcm_abort(isight);

snd_card_disconnect(isight->card);

mutex_lock(&isight->mutex);
isight_stop_streaming(isight);
mutex_unlock(&isight->mutex);

Expand All @@ -707,12 +709,13 @@ static void isight_bus_reset(struct fw_unit *unit)
{
struct isight *isight = dev_get_drvdata(&unit->device);

mutex_lock(&isight->mutex);
if (fw_iso_resources_update(&isight->resources) < 0) {
isight_pcm_abort(isight);

mutex_lock(&isight->mutex);
isight_stop_streaming(isight);
mutex_unlock(&isight->mutex);
}
mutex_unlock(&isight->mutex);
}

static const struct ieee1394_device_id isight_id_table[] = {
Expand Down

0 comments on commit a55643e

Please sign in to comment.