Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7a13cbc authored by Srinivas Neeli's avatar Srinivas Neeli Committed by Greg Kroah-Hartman
Browse files

gpio: zynq: Check return value of pm_runtime_get_sync



[ Upstream commit a51b2fb94b04ab71e53a71b9fad03fa826941254 ]

Return value of "pm_runtime_get_sync" API was neither captured nor checked.
Fixed it by capturing the return value and then checking for any warning.

Addresses-Coverity: "check_return"
Signed-off-by: default avatarSrinivas Neeli <srinivas.neeli@xilinx.com>
Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c58022e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment