commit | b60fb519d7977e606621af85585c3677fc290ef8 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Tue Jan 25 15:52:33 2011 +0000 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Tue Jan 25 21:20:22 2011 +0000 |
tree | c585e8f2e08717547a7d570ef84fbf2e8a6b874e | |
parent | 250c7a61c35a258e2422b3d55c61bfbad33326be [diff] |
ALSA: AACI: fix multiple IRQ claiming Claiming the IRQ each time a playback or capture interface is opened is wasteful; the second copy of the registered handler is identical to the first and just wastes resources. Track the number of opens and only register the handler when necessary. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>