Hi, The comment above __drm_fb_helper_initial_config_and_unlock() says "Drops fb_helper->lock before returning". However, there is an error path in that function that does not drop fb_helper->lock:
info = drm_fb_helper_alloc_info(fb_helper);
if (IS_ERR(info))
return PTR_ERR(info);
Is the code correct or is the comment correct? I don't think that
both can be correct.
Thanks,
Bart.
