Skip to content

Commit 7a195c2

Browse files
committed
video: fbdev: sunxi: hdmi2: call cec_set_base_addr if HDMI2_CEC_USER is disabled
1 parent 0b9545a commit 7a195c2

File tree

1 file changed

+4
-1
lines changed
  • drivers/video/fbdev/sunxi/disp2/hdmi2/hdmi_core

1 file changed

+4
-1
lines changed

drivers/video/fbdev/sunxi/disp2/hdmi2/hdmi_core/core_cec.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1251,7 +1251,10 @@ void hdmi_cec_exit(void)
12511251
cdev_del(cec_cdev);
12521252
}
12531253
#else
1254-
void hdmi_cec_init(struct cec_init_para *init) {; }
1254+
void hdmi_cec_init(struct cec_init_para *init)
1255+
{
1256+
cec_set_base_addr(init->hdmi_base);
1257+
}
12551258
void hdmi_cec_exit(void) {; }
12561259
#endif
12571260

0 commit comments

Comments
 (0)