Skip to content

Commit ab1d897

Browse files
committed
vc4_hdmi: Remove cec_available flag as always supported
Signed-off-by: Dom Cobley <popcornmix@gmail.com>
1 parent b0d2877 commit ab1d897

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

‎drivers/gpu/drm/vc4/vc4_hdmi.c‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1392,9 +1392,6 @@ static int vc4_hdmi_cec_init(struct vc4_hdmi *vc4_hdmi)
13921392
u32 clk_cnt;
13931393
int ret;
13941394

1395-
if (!vc4_hdmi->variant->cec_available)
1396-
return 0;
1397-
13981395
vc4_hdmi->cec_adap = cec_allocate_adapter(&vc4_hdmi_cec_adap_ops,
13991396
vc4_hdmi, "vc4",
14001397
CEC_CAP_DEFAULTS |
@@ -1762,7 +1759,6 @@ static const struct vc4_hdmi_variant bcm2835_variant = {
17621759
.max_pixel_clock = 162000000,
17631760
.cec_input_clock = VC4_HSM_CLOCK,
17641761
.audio_available = true,
1765-
.cec_available = true,
17661762
.registers = vc4_hdmi_fields,
17671763
.num_registers = ARRAY_SIZE(vc4_hdmi_fields),
17681764

‎drivers/gpu/drm/vc4/vc4_hdmi.h‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ struct vc4_hdmi_variant {
4242
/* Set to true when the audio support is available */
4343
bool audio_available;
4444

45-
/* Set to true when the CEC support is available */
46-
bool cec_available;
47-
4845
/* Maximum pixel clock supported by the controller (in Hz) */
4946
unsigned long long max_pixel_clock;
5047

0 commit comments

Comments
 (0)