KVM: PPC: Move xics_debugfs_init out of create
[deliverable/linux.git] / sound / soc / soc-compress.c
index 875733c52953a6a3ec13ac2f0c932bb695ae5b3e..d2df46c14c6823599c6210b3a31c9b1aa60ce72e 100644 (file)
@@ -530,14 +530,15 @@ static int soc_compr_pointer(struct snd_compr_stream *cstream,
 {
        struct snd_soc_pcm_runtime *rtd = cstream->private_data;
        struct snd_soc_platform *platform = rtd->platform;
+       int ret = 0;
 
        mutex_lock_nested(&rtd->pcm_mutex, rtd->pcm_subclass);
 
        if (platform->driver->compr_ops && platform->driver->compr_ops->pointer)
-                platform->driver->compr_ops->pointer(cstream, tstamp);
+               ret = platform->driver->compr_ops->pointer(cstream, tstamp);
 
        mutex_unlock(&rtd->pcm_mutex);
-       return 0;
+       return ret;
 }
 
 static int soc_compr_copy(struct snd_compr_stream *cstream,
This page took 0.024445 seconds and 5 git commands to generate.