summaryrefslogtreecommitdiffstats
path: root/alsa-pcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'alsa-pcm.c')
-rw-r--r--alsa-pcm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/alsa-pcm.c b/alsa-pcm.c
index 0c39a4d..f174ef0 100644
--- a/alsa-pcm.c
+++ b/alsa-pcm.c
@@ -55,8 +55,7 @@ static int pcm_open(struct snd_pcm_substream *substream)
stream = __avirt_stream_find_by_device(substream->pcm->device);
audiopath = avirt_audiopath_get(stream->map);
- CHK_NULL_V(audiopath, -EFAULT, "Cannot find Audio Path uid: '%s'!",
- stream->map);
+ CHK_NULL_V(audiopath, "Cannot find Audio Path uid: '%s'!", stream->map);
substream->private_data = audiopath;
// Copy the hw params from the audiopath to the pcm