OSDN Git Service

Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[sagit-ice-cold/kernel_xiaomi_msm8998.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)