summaryrefslogtreecommitdiff
path: root/ipc/sem.c
diff options
context:
space:
mode:
authorBiju Das <biju.das.jz@bp.renesas.com>2021-12-08 19:40:09 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2021-12-09 17:58:09 +0300
commit8ee1c0f6526ce942b7595951c7bb0165010051c2 (patch)
tree8efb51c88f6d08ce9887706eff3924052eb99334 /ipc/sem.c
parent3de89d8842a2b5d3dd22ebf97dd561ae0a330948 (diff)
downloadlinux-8ee1c0f6526ce942b7595951c7bb0165010051c2.tar.xz
thermal/drivers/rz2gl: Add error check for reset_control_deassert()
If reset_control_deassert() fails, then we won't be able to access the device registers. Therefore check the return code of reset_control_deassert() and bail out in case of error. While at it replace the parameter "&pdev->dev" -> "dev" in devm_reset_control_get_exclusive(). Suggested-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Link: https://lore.kernel.org/r/20211208164010.4130-1-biju.das.jz@bp.renesas.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'ipc/sem.c')
0 files changed, 0 insertions, 0 deletions