]> asedeno.scripts.mit.edu Git - linux.git/commit
spi: Add missing pm_runtime_put_noidle() after failed get
authorTony Lindgren <tony@atomide.com>
Fri, 18 May 2018 17:30:07 +0000 (10:30 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 21 May 2018 15:44:25 +0000 (16:44 +0100)
commit7e48e23a1f4a50f93ac1073f1326e0a73829b631
tree96621dc530bf77907bb558b303b4a9ee97888234
parent6282f122913e632c2415c236a2b5faa8ef368b10
spi: Add missing pm_runtime_put_noidle() after failed get

If pm_runtime_get_sync() fails we should call pm_runtime_put_noidle().
This is probably not a critical fix as we should only hit this when
things are broken elsewhere.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c