summaryrefslogtreecommitdiff
path: root/drivers/media/usb/rainshadow-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/rainshadow-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/rainshadow-cec')
-rw-r--r--drivers/media/usb/rainshadow-cec/rainshadow-cec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/usb/rainshadow-cec/rainshadow-cec.c b/drivers/media/usb/rainshadow-cec/rainshadow-cec.c
index 30bff4c48f92..6f9681c995a4 100644
--- a/drivers/media/usb/rainshadow-cec/rainshadow-cec.c
+++ b/drivers/media/usb/rainshadow-cec/rainshadow-cec.c
@@ -309,8 +309,7 @@ static const struct cec_adap_ops rain_cec_adap_ops = {
static int rain_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 rain *rain;
int err = -ENOMEM;
struct cec_log_addrs log_addrs = {};