[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <145833668973.2935.1789623774430960345.stgit@woodpecker.blarg.de>
Date: Fri, 18 Mar 2016 22:31:29 +0100
From: Max Kellermann <max@...mpel.org>
To: linux-kernel@...r.kernel.org, linux-media@...r.kernel.org
Subject: [PATCH 1/2] media/dvb-core: fix inverted check
Breakage caused by commit f50d51661a
Signed-off-by: Max Kellermann <max@...mpel.org>
---
drivers/media/dvb-core/dvbdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/dvb-core/dvbdev.c b/drivers/media/dvb-core/dvbdev.c
index 560450a..c756d4b 100644
--- a/drivers/media/dvb-core/dvbdev.c
+++ b/drivers/media/dvb-core/dvbdev.c
@@ -682,7 +682,7 @@ int dvb_create_media_graph(struct dvb_adapter *adap,
if (demux && ca) {
ret = media_create_pad_link(demux, 1, ca,
0, MEDIA_LNK_FL_ENABLED);
- if (!ret)
+ if (ret)
return -ENOMEM;
}
Powered by blists - more mailing lists