drm/exynos/decon5433: & vs | typo

"&" was obviously intended instead of "|".  The original condition is
always true.

Fixes: b93c2e8b5d ("drm/exynos/decon5433: configure sysreg in case of hardware trigger")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
This commit is contained in:
Dan Carpenter 2017-02-14 10:46:20 +03:00 committed by Inki Dae
parent 27b713c2e0
commit ac7ce78ba0
1 changed files with 1 additions and 1 deletions

View File

@ -678,7 +678,7 @@ static int exynos5433_decon_probe(struct platform_device *pdev)
ctx->out_type |= IFTYPE_I80; ctx->out_type |= IFTYPE_I80;
} }
if (ctx->out_type | I80_HW_TRG) { if (ctx->out_type & I80_HW_TRG) {
ctx->sysreg = syscon_regmap_lookup_by_phandle(dev->of_node, ctx->sysreg = syscon_regmap_lookup_by_phandle(dev->of_node,
"samsung,disp-sysreg"); "samsung,disp-sysreg");
if (IS_ERR(ctx->sysreg)) { if (IS_ERR(ctx->sysreg)) {