commit | 268d76430d1b68c340687357ffd18b4b12d02269 | [log] [tgz] |
---|---|---|
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | Thu Oct 03 02:15:50 2013 -0700 |
committer | Mark Brown <broonie@linaro.org> | Thu Oct 03 14:08:06 2013 +0100 |
tree | 98839268c37b01a66cbe9aa3b214c1ed2db9f688 | |
parent | 15c03dd4859ab16f9212238f29dd315654aa94f6 [diff] |
spi/hspi: fixup Runtime PM enable timing 3e00a09d2fbd64f0ad98e7c8c29dbf9e038fc746 (spi/hspi: Convert to core runtime PM) enabled master->auto_runtime_pm. Then, pm_runtime_enable() is required *before* spi_register_master() calling. This patch fixed it up. Kernel will hang up with "spi_master spi0: Failed to power device: -13" message without this patch. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@linaro.org>