Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270441
b: refs/heads/master
c: a0978e8
h: refs/heads/master
i:
  270439: caa02f7
v: v3
  • Loading branch information
Stefan Richter authored and Takashi Iwai committed Oct 4, 2011
1 parent e592a08 commit 0bf80f5
Show file tree
Hide file tree
Showing 2 changed files with 4 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: bb690c9e2702e49af3be2fb6f03d9b60e0afcab7
refs/heads/master: a0978e8039f1b1bfb9fbc68f682b14313bb4f9ad
5 changes: 3 additions & 2 deletions trunk/sound/firewire/speakers.c
Original file line number Diff line number Diff line change
Expand Up @@ -778,9 +778,10 @@ static int __devexit fwspk_remove(struct device *dev)
{
struct fwspk *fwspk = dev_get_drvdata(dev);

mutex_lock(&fwspk->mutex);
amdtp_out_stream_pcm_abort(&fwspk->stream);
snd_card_disconnect(fwspk->card);

mutex_lock(&fwspk->mutex);
fwspk_stop_stream(fwspk);
mutex_unlock(&fwspk->mutex);

Expand All @@ -796,8 +797,8 @@ static void fwspk_bus_reset(struct fw_unit *unit)
fcp_bus_reset(fwspk->unit);

if (cmp_connection_update(&fwspk->connection) < 0) {
mutex_lock(&fwspk->mutex);
amdtp_out_stream_pcm_abort(&fwspk->stream);
mutex_lock(&fwspk->mutex);
fwspk_stop_stream(fwspk);
mutex_unlock(&fwspk->mutex);
return;
Expand Down

0 comments on commit 0bf80f5

Please sign in to comment.