Merge remote-tracking branch 'spi/topic/core' into spi-next
[cascardo/linux.git] / sound / core / compress_offload.c
index 7a20897..7403f34 100644 (file)
@@ -133,7 +133,7 @@ static int snd_compr_open(struct inode *inode, struct file *f)
                kfree(data);
        }
        snd_card_unref(compr->card);
-       return 0;
+       return ret;
 }
 
 static int snd_compr_free(struct inode *inode, struct file *f)