diff options
| author | Ingo Molnar <mingo@elte.hu> | 2008-12-16 20:57:41 +0100 | 
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-12-16 20:57:41 +0100 | 
| commit | dd7a5230cd651bfb119d222561c4032f30dd5659 (patch) | |
| tree | 85628ef75d1f512f43df6f760980b6cce6cf40c7 /sound/core/init.c | |
| parent | 050dc6944b9ca2186f4729ab44e0da3743933941 (diff) | |
| parent | 8b1fae4e4200388b64dd88065639413cb3f1051c (diff) | |
Merge commit 'v2.6.28-rc8' into x86/cpufeature
Diffstat (limited to 'sound/core/init.c')
| -rw-r--r-- | sound/core/init.c | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/core/init.c b/sound/core/init.c index ef2352c2e451..b47ff8b44be8 100644 --- a/sound/core/init.c +++ b/sound/core/init.c @@ -264,8 +264,11 @@ static int snd_disconnect_release(struct inode *inode, struct file *file)  	}  	spin_unlock(&shutdown_lock); -	if (likely(df)) +	if (likely(df)) { +		if ((file->f_flags & FASYNC) && df->disconnected_f_op->fasync) +			df->disconnected_f_op->fasync(-1, file, 0);  		return df->disconnected_f_op->release(inode, file); +	}  	panic("%s(%p, %p) failed!", __func__, inode, file);  }  | 
