forked from Minki/linux
drm/exynos: fimc: signedness bug in fimc_setup_clocks()
"id" needs to be signed for the error handling to work.
Fixes: 7a2d5c77c5
("drm/exynos: fimc: Convert driver to IPP v2 core API")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
This commit is contained in:
parent
12678199c7
commit
19832055e2
@ -1200,7 +1200,7 @@ e_clk_free:
|
||||
|
||||
int exynos_drm_check_fimc_device(struct device *dev)
|
||||
{
|
||||
unsigned int id = of_alias_get_id(dev->of_node, "fimc");
|
||||
int id = of_alias_get_id(dev->of_node, "fimc");
|
||||
|
||||
if (id >= 0 && (BIT(id) & fimc_mask))
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user