From: Hans Verkuil Date: Fri, 4 Aug 2017 10:41:55 +0000 (-0400) Subject: media: stm32-cec: use CEC_CAP_DEFAULTS X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=43298e768cfc2b9c810e55425e948bf6f767cc75;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git media: stm32-cec: use CEC_CAP_DEFAULTS Use the new CEC_CAP_DEFAULTS define in this driver. Signed-off-by: Hans Verkuil Acked-by: Benjamin Gaignard Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/stm32/stm32-cec.c b/drivers/media/platform/stm32/stm32-cec.c index 9ab896b01ee8..0e5aa17bdd40 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;