summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vivid/vivid-cec.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2017-08-04 12:41:52 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-08-09 15:37:46 +0200
commit57b796365500fe7acdea383ef6682a4a9479e2d7 (patch)
treee81bc364a16e6400d3a6977ddb5ee5b30cdc1c91 /drivers/media/platform/vivid/vivid-cec.c
parentmedia: media/cec.h: add CEC_CAP_DEFAULTS (diff)
downloadlinux-57b796365500fe7acdea383ef6682a4a9479e2d7.tar.xz
linux-57b796365500fe7acdea383ef6682a4a9479e2d7.zip
media: adv*/vivid/pulse8/rainshadow: cec: use CEC_CAP_DEFAULTS
Use the new CEC_CAP_DEFAULTS define in the adv, vivid, pulse8 and rainshadow CEC drivers. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/vivid/vivid-cec.c')
-rw-r--r--drivers/media/platform/vivid/vivid-cec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/platform/vivid/vivid-cec.c b/drivers/media/platform/vivid/vivid-cec.c
index e15705758969..43992fa92a88 100644
--- a/drivers/media/platform/vivid/vivid-cec.c
+++ b/drivers/media/platform/vivid/vivid-cec.c
@@ -219,8 +219,7 @@ struct cec_adapter *vivid_cec_alloc_adap(struct vivid_dev *dev,
bool is_source)
{
char name[sizeof(dev->vid_out_dev.name) + 2];
- u32 caps = CEC_CAP_TRANSMIT | CEC_CAP_LOG_ADDRS |
- CEC_CAP_PASSTHROUGH | CEC_CAP_RC | CEC_CAP_MONITOR_ALL;
+ u32 caps = CEC_CAP_DEFAULTS | CEC_CAP_MONITOR_ALL;
snprintf(name, sizeof(name), "%s%d",
is_source ? dev->vid_out_dev.name : dev->vid_cap_dev.name,