Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spi: stm32: fix pm_runtime_get_sync() error checking
[ Upstream commit c170a5a ] The pm_runtime_get_sync() can return either 0 or 1 on success but this code treats 1 as a failure. Fixes: db96bf9 ("spi: stm32: fixes suspend/resume management") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Alain Volmat <[email protected]> Link: https://lore.kernel.org/r/20200909094304.GA420136@mwanda Signed-off-by: Mark Brown <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
- Loading branch information