summaryrefslogtreecommitdiff
path: root/drivers/media/usb/pulse8-cec
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2017-08-04 06:41:52 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-08-09 09:37:46 -0400
commit57b796365500fe7acdea383ef6682a4a9479e2d7 (patch)
treee81bc364a16e6400d3a6977ddb5ee5b30cdc1c91 /drivers/media/usb/pulse8-cec
parentee0c503eacfb97e1d443baf5a03939201d0244f5 (diff)
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/usb/pulse8-cec')
-rw-r--r--drivers/media/usb/pulse8-cec/pulse8-cec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/usb/pulse8-cec/pulse8-cec.c b/drivers/media/usb/pulse8-cec/pulse8-cec.c
index 993117c04935..95f616f94004 100644
--- a/drivers/media/usb/pulse8-cec/pulse8-cec.c
+++ b/drivers/media/usb/pulse8-cec/pulse8-cec.c
@@ -642,8 +642,7 @@ static const struct cec_adap_ops pulse8_cec_adap_ops = {
static int pulse8_connect(struct serio *serio, struct serio_driver *drv)
{
- u32 caps = CEC_CAP_TRANSMIT | CEC_CAP_LOG_ADDRS | CEC_CAP_PHYS_ADDR |
- CEC_CAP_PASSTHROUGH | CEC_CAP_RC | CEC_CAP_MONITOR_ALL;
+ u32 caps = CEC_CAP_DEFAULTS | CEC_CAP_PHYS_ADDR | CEC_CAP_MONITOR_ALL;
struct pulse8 *pulse8;
int err = -ENOMEM;
struct cec_log_addrs log_addrs = {};