diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-05-13 16:46:38 +0300 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2021-06-30 15:46:55 +0300 |
commit | 49a122ae9c6627cccace69e59feb148ecbd2400a (patch) | |
tree | 8a72107e449610f3fdef8e2152880b0496a7b056 /arch/x86/events/perf_event.h | |
parent | a8faa6a1112c7408171c24a87b2b9e4aeb983514 (diff) | |
download | linux-49a122ae9c6627cccace69e59feb148ecbd2400a.tar.xz |
drm/kmb: Fix error return code in kmb_hw_init()
[ Upstream commit 6fd8f323b3e4e5290d02174559308669507c00dd ]
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
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/x86/events/perf_event.h')
0 files changed, 0 insertions, 0 deletions