Files
linux/sound/core
Charles Keepax 62726e2fa1 ALSA: compress: Pass through return value of open ops callback
commit 749d32237b upstream.

The snd_compr_open function would always return 0 even if the compressed
ops open function failed, obviously this is incorrect. Looks like this
was introduced by a small typo in:

commit a0830dbd4e
ALSA: Add a reference counter to card instance

This patch returns the value from the compressed op as it should.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-31 09:58:12 -07:00
..
2013-04-18 10:02:33 +02:00
2013-06-15 05:42:42 +04:00
2011-07-30 08:03:35 +02:00
2012-11-08 14:36:18 +01:00