--- zzzz-none-000/linux-3.10.107/drivers/video/of_videomode.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/video/of_videomode.c 2021-02-04 17:41:59.000000000 +0000 @@ -44,11 +44,9 @@ index = disp->native_mode; ret = videomode_from_timings(disp, vm, index); - if (ret) - return ret; display_timings_release(disp); - return 0; + return ret; } EXPORT_SYMBOL_GPL(of_get_videomode);