From: Charles Keepax Date: Wed, 19 Mar 2014 12:59:39 +0000 (+0000) Subject: ALSA: compress: Pass through return value of open ops callback X-Git-Tag: v3.14-rc8~12^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=749d32237bf39e6576dd95bfdf24e4378e51716c;p=pandora-kernel.git ALSA: compress: Pass through return value of open ops callback 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 a0830dbd4e42b38aefdf3fb61ba5019a1a99ea85 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 Acked-by: Vinod Koul Cc: Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed