commit | 25bf943e4e7b47282bd86ae7d39e039217ebb007 | [log] [tgz] |
---|---|---|
author | Qiushi Wu <wu000273@umn.edu> | Mon May 25 00:50:11 2020 -0500 |
committer | Mark Brown <broonie@kernel.org> | Tue May 26 17:20:23 2020 +0100 |
tree | b82cf4896476be2537ba206f87c0062d061f02d4 | |
parent | c553d290577093553098a56c954e516950c35c59 [diff] |
ASoC: fix incomplete error-handling in img_i2s_in_probe. Function "pm_runtime_get_sync()" is not handled by "pm_runtime_put()" if "PTR_ERR(rst) == -EPROBE_DEFER". Fix this issue by adding "pm_runtime_put()" into this error path. Fixes: f65bb92ca12e ("ASoC: img-i2s-in: Add runtime PM") Signed-off-by: Qiushi Wu <wu000273@umn.edu> Link: https://lore.kernel.org/r/20200525055011.31925-1-wu000273@umn.edu Signed-off-by: Mark Brown <broonie@kernel.org>