summaryrefslogtreecommitdiff
path: root/drivers/video/display-uclass.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/display-uclass.c')
-rw-r--r--drivers/video/display-uclass.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/display-uclass.c b/drivers/video/display-uclass.c
index 31522ea..e4763de 100644
--- a/drivers/video/display-uclass.c
+++ b/drivers/video/display-uclass.c
@@ -36,6 +36,9 @@ int display_read_timing(struct udevice *dev, struct display_timing *timing)
u8 buf[EDID_EXT_SIZE];
int ret;
+ if (ops && ops->read_timing)
+ return ops->read_timing(dev, timing);
+
if (!ops || !ops->read_edid)
return -ENOSYS;
ret = ops->read_edid(dev, buf, sizeof(buf));