summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-s3c24xx.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-10-21 13:45:13 +0300
committerMark Brown <broonie@kernel.org>2020-10-23 20:29:00 +0300
commit43b6bf406cd0319e522638f97c9086b7beebaeaa (patch)
tree2d2b8f6a76027620d861bfc062094cafde523653 /drivers/spi/spi-s3c24xx.c
parent855a40cd8cccfbf5597adfa77f55cdc8c44b6e42 (diff)
downloadlinux-43b6bf406cd0319e522638f97c9086b7beebaeaa.tar.xz
spi: imx: fix runtime pm support for !CONFIG_PM
525c9e5a32bd introduced pm_runtime support for the i.MX SPI driver. With this pm_runtime is used to bring up the clocks initially. When CONFIG_PM is disabled the clocks are no longer enabled and the driver doesn't work anymore. Fix this by enabling the clocks in the probe function and telling pm_runtime that the device is active using pm_runtime_set_active(). Fixes: 525c9e5a32bd spi: imx: enable runtime pm support Tested-by: Christian Eggers <ceggers@arri.de> [tested for !CONFIG_PM only] Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Link: https://lore.kernel.org/r/20201021104513.21560-1-s.hauer@pengutronix.de Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-s3c24xx.c')
0 files changed, 0 insertions, 0 deletions