spi: spi-coldfire-qspi: enable RuntimePM before registering to the core
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 9 Oct 2015 09:39:27 +0000 (10:39 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 12 Oct 2015 16:02:08 +0000 (17:02 +0100)
commitf9b841af4c1c3c3b7ce3552ab5ee5d9c430e9c29
tree5d845f4b6faad3c9587e71d15d05ae0fffdbdbaa
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f
spi: spi-coldfire-qspi: enable RuntimePM before registering to the core

The core may register clients attached to this master which may use
funtionality from the master. So, RuntimePM must be enabled before, otherwise
this will fail.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-coldfire-qspi.c