spi: s3c64xx-spi-isp: properly set initial runtime pm status
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 22 Jul 2016 09:23:15 +0000 (11:23 +0200)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:52:07 +0000 (13:52 +0900)
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I619fc999265e3770a5295a3a9a1ef3fd46a9c94c

drivers/spi/spi-exynos5433-isp.c

index 68ea730..de36e21 100644 (file)
@@ -1349,6 +1349,7 @@ static int s3c64xx_spi_probe(struct platform_device *pdev)
                                        (int)mem_res->end, (int)mem_res->start,
                                        sdd->rx_dma.dmach, sdd->tx_dma.dmach);
 
+       pm_runtime_set_active(&pdev->dev);
        pm_runtime_enable(&pdev->dev);
        pm_runtime_use_autosuspend(&pdev->dev);
        pm_runtime_set_autosuspend_delay(&pdev->dev,