Skip to content

Commit

Permalink
gpu: drm: imx: sec_mipi_dsim-imx: fix error message
Browse files Browse the repository at this point in the history
The message appears when we have no VALID reset controls. Fix it.

Fixes: a31678d ("drm/imx: Replace reset flow for DSIM")
Signed-off-by: Oleksandr Suvorov <[email protected]>
  • Loading branch information
MrCry0 committed Dec 18, 2022
1 parent 3313732 commit 2403fe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/imx/sec_mipi_dsim-imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ static int sec_dsim_of_parse_resets(struct imx_sec_dsim_device *dsim)
}

if (!rstc_num) {
dev_err(dev, "no invalid reset control exists\n");
dev_err(dev, "no valid reset control exists\n");
return -EINVAL;
}

Expand Down

0 comments on commit 2403fe3

Please sign in to comment.