commit | a3fbc2e6bb05a3b1ea341cd29dea09b4a033727b | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | Tue Feb 04 19:13:13 2020 +0100 |
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Mon Feb 24 17:21:58 2020 +0100 |
tree | 029303fd9bdc26a515bb2f5c9d24476d16eb0e47 | |
parent | 0c9d29eb1cceb8a155dd42769cc88b50c45f0dbe [diff] |
media: mc-entity.c: use WARN_ON, validate link pads Use WARN_ON instead of BUG_ON. Add two new WARN_ONs to verify that the source pad is really a source and that the sink pad is really a sink. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> [hverkuil-cisco@xs4all.nl: use ! instead of == NULL for source and sink] Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>