spi: bcm63xx-hsspi: Really keep pll clk enabled
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 28 Feb 2020 21:38:38 +0000 (22:38 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 2 Mar 2020 15:03:19 +0000 (15:03 +0000)
commit51bddd4501bc414b8b1e8f4d096b4a5304068169
tree04a677075262074c4f491cec15c9244e4c033804
parent8e093ea4d3593379be46b845b9e823179558047e
spi: bcm63xx-hsspi: Really keep pll clk enabled

The purpose of commit 0fd85869c2a9 ("spi/bcm63xx-hsspi: keep pll clk enabled")
was to keep the pll clk enabled through the lifetime of the device.

In order to do that, some 'clk_prepare_enable()'/'clk_disable_unprepare()'
calls have been added in the error handling path of the probe function, in
the remove function and in the suspend and resume functions.

However, a 'clk_disable_unprepare()' call has been unfortunately left in
the probe function. So the commit seems to be more or less a no-op.

Axe it now, so that the pll clk is left enabled through the lifetime of
the device, as described in the commit.

Fixes: 0fd85869c2a9 ("spi/bcm63xx-hsspi: keep pll clk enabled")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Jonas Gorski <jonas.gorski@gmail.com>
Link: https://lore.kernel.org/r/20200228213838.7124-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-bcm63xx-hsspi.c