diff options
author | Srinivas Neeli <srinivas.neeli@xilinx.com> | 2021-04-09 19:38:05 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-20 16:10:44 +0200 |
commit | 8e1b6d96e95fb979e0a046f299d41ee3c9ed7f8c (patch) | |
tree | 153988916fb65298bcfefae226987d9c05849838 /sound/ppc | |
parent | b11220803ad14a2a880cc06d8e01fe2548cc85b0 (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>
Diffstat (limited to 'sound/ppc')
0 files changed, 0 insertions, 0 deletions