From: Kuninori Morimoto Date: Thu, 3 Oct 2013 09:15:50 +0000 (-0700) Subject: spi/hspi: fixup Runtime PM enable timing X-Git-Tag: v3.12-rc5~22^2~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=268d76430d1b68c340687357ffd18b4b12d02269;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed