Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 43298e76 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

media: stm32-cec: use CEC_CAP_DEFAULTS



Use the new CEC_CAP_DEFAULTS define in this driver.

Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Acked-by: default avatarBenjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent c06f6be6
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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;