diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2017-08-04 06:41:55 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-26 08:36:58 -0400 |
commit | 43298e768cfc2b9c810e55425e948bf6f767cc75 (patch) | |
tree | 069074202495ab7df6d654376b38d5197528938e /drivers/media/platform/stm32 | |
parent | c06f6be6a7fd894204dea60f1d5fdb243f9a5138 (diff) | |
download | op-kernel-dev-43298e768cfc2b9c810e55425e948bf6f767cc75.zip op-kernel-dev-43298e768cfc2b9c810e55425e948bf6f767cc75.tar.gz |
media: stm32-cec: use CEC_CAP_DEFAULTS
Use the new CEC_CAP_DEFAULTS define in this driver.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
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/stm32')
-rw-r--r-- | drivers/media/platform/stm32/stm32-cec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/platform/stm32/stm32-cec.c b/drivers/media/platform/stm32/stm32-cec.c index 9ab896b..0e5aa17 100644 --- a/drivers/media/platform/stm32/stm32-cec.c +++ b/drivers/media/platform/stm32/stm32-cec.c @@ -246,9 +246,7 @@ static const struct regmap_config stm32_cec_regmap_cfg = { static int stm32_cec_probe(struct platform_device *pdev) { - u32 caps = CEC_CAP_LOG_ADDRS | CEC_CAP_PASSTHROUGH | - CEC_CAP_TRANSMIT | CEC_CAP_RC | CEC_CAP_PHYS_ADDR | - CEC_MODE_MONITOR_ALL; + u32 caps = CEC_CAP_DEFAULTS | CEC_CAP_PHYS_ADDR | CEC_MODE_MONITOR_ALL; struct resource *res; struct stm32_cec *cec; void __iomem *mmio; |