[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <145833669510.2935.9687369819709306057.stgit@woodpecker.blarg.de>
Date: Fri, 18 Mar 2016 22:31:35 +0100
From: Max Kellermann <max@...mpel.org>
To: linux-kernel@...r.kernel.org, linux-media@...r.kernel.org
Subject: [PATCH 2/2] media/dvb-core: forward media_create_pad_links() return
value
Signed-off-by: Max Kellermann <max@...mpel.org>
---
drivers/media/dvb-core/dvbdev.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/media/dvb-core/dvbdev.c b/drivers/media/dvb-core/dvbdev.c
index c756d4b..96de2fa 100644
--- a/drivers/media/dvb-core/dvbdev.c
+++ b/drivers/media/dvb-core/dvbdev.c
@@ -677,13 +677,13 @@ int dvb_create_media_graph(struct dvb_adapter *adap,
demux, 0, MEDIA_LNK_FL_ENABLED,
false);
if (ret)
- return -ENOMEM;
+ return ret;
}
if (demux && ca) {
ret = media_create_pad_link(demux, 1, ca,
0, MEDIA_LNK_FL_ENABLED);
if (ret)
- return -ENOMEM;
+ return ret;
}
/* Create demux links for each ringbuffer/pad */
Powered by blists - more mailing lists