commit | 3d2b0818daa421b1619cf3bf5f2b2a6788cebcf2 | [log] [tgz] |
---|---|---|
author | Srinivas Neeli <srinivas.neeli@xilinx.com> | Fri Apr 09 19:38:05 2021 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jul 20 16:05:43 2021 +0200 |
tree | 957e3c018c17f0db62f1b6875e5677f80ba297c0 | |
parent | 71f8d7fbfe8e5c86fc046cf212eabd25d365591a [diff] |
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: Srinivas Neeli <srinivas.neeli@xilinx.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Sasha Levin <sashal@kernel.org>