spi: st-ssc4: add missed pm_runtime_disable
authorChuhong Yuan <hslester96@gmail.com>
Mon, 18 Nov 2019 02:48:48 +0000 (10:48 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Dec 2019 15:45:37 +0000 (16:45 +0100)
commite83943268d0da0cc26bf13bddce864aa74ff402e
treec2779eb6ed296f127cc4391189e0c8970ffd3c0d
parentdc7a825622d5ebfe52b219f8ea4b3e461644b269
spi: st-ssc4: add missed pm_runtime_disable

[ Upstream commit cd050abeba2a95fe5374eec28ad2244617bcbab6 ]

The driver forgets to call pm_runtime_disable in probe failure
and remove.
Add the missed calls to fix it.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Link: https://lore.kernel.org/r/20191118024848.21645-1-hslester96@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/spi/spi-st-ssc4.c