1 From c214fa3d1bc1142cb8f185f71deb3f14915fe55d Mon Sep 17 00:00:00 2001
2 From: Dom Cobley <popcornmix@gmail.com>
3 Date: Thu, 7 May 2020 18:16:09 +0100
4 Subject: [PATCH] vc4_hdmi: Remove cec_available flag as always
7 Signed-off-by: Dom Cobley <popcornmix@gmail.com>
9 drivers/gpu/drm/vc4/vc4_hdmi.c | 4 ----
10 drivers/gpu/drm/vc4/vc4_hdmi.h | 3 ---
11 2 files changed, 7 deletions(-)
13 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
14 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
15 @@ -1402,9 +1402,6 @@ static int vc4_hdmi_cec_init(struct vc4_
19 - if (!vc4_hdmi->variant->cec_available)
22 vc4_hdmi->cec_adap = cec_allocate_adapter(&vc4_hdmi_cec_adap_ops,
25 @@ -1773,7 +1770,6 @@ static const struct vc4_hdmi_variant bcm
26 .max_pixel_clock = 162000000,
27 .cec_input_clock = VC4_HSM_CLOCK,
28 .audio_available = true,
29 - .cec_available = true,
30 .registers = vc4_hdmi_fields,
31 .num_registers = ARRAY_SIZE(vc4_hdmi_fields),
33 --- a/drivers/gpu/drm/vc4/vc4_hdmi.h
34 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.h
35 @@ -42,9 +42,6 @@ struct vc4_hdmi_variant {
36 /* Set to true when the audio support is available */
39 - /* Set to true when the CEC support is available */
42 /* Maximum pixel clock supported by the controller (in Hz) */
43 unsigned long long max_pixel_clock;