diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-05-13 16:46:38 +0300 |
---|---|---|
committer | Anitha Chrisanthus <anitha.chrisanthus@intel.com> | 2021-06-22 20:33:49 +0300 |
commit | 6fd8f323b3e4e5290d02174559308669507c00dd (patch) | |
tree | 24967c045deb3276a15366532859744a25883700 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8ddf5b9bb479570a3825d70fecfb9399bc15700c (diff) | |
download | linux-6fd8f323b3e4e5290d02174559308669507c00dd.tar.xz |
drm/kmb: Fix error return code in kmb_hw_init()
When the call to platform_get_irq() to obtain the IRQ of the lcd fails, the
returned error code should be propagated. However, we currently do not
explicitly assign this error code to 'ret'. As a result, 0 was incorrectly
returned.
Fixes: 7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Anitha Chrisanthus <anitha.chrisanthus@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210513134639.6541-1-thunder.leizhen@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions