diff options
| author | Dan Carpenter <[email protected]> | 2017-09-25 10:30:38 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2017-09-30 23:30:01 +0000 |
| commit | 320e421ea303b1e53451b2b4cd3ad18cdd043b3b (patch) | |
| tree | f96c37dbc6856664907432fe537b0ead59449c52 /drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c | |
| parent | drm/tve200: Check for IS_ERR instead of NULL in probe (diff) | |
| download | kernel-320e421ea303b1e53451b2b4cd3ad18cdd043b3b.tar.gz kernel-320e421ea303b1e53451b2b4cd3ad18cdd043b3b.zip | |
drm: of: always initialize panel in drm_of_find_panel_or_bridge()
The callers expect "panel" to be initialized, but that isn't true if we
return -ENODEV. It causes bugs like:
drivers/gpu/drm/tve200/tve200_drv.c:83 tve200_modeset_init()
error: uninitialized symbol 'panel'.
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20170925103038.lvr5msjvekwczctn@mwanda
Diffstat (limited to 'drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c')
0 files changed, 0 insertions, 0 deletions
