j
k
j a
j l
On Thu, Feb 16, 2017 at 01:27:15PM +0800, Garlic Tseng wrote:
pm_runtime_enable(&pdev->dev); if (!pm_runtime_enabled(&pdev->dev)) goto err_pm_disable; pm_runtime_get_sync(&pdev->dev);
pm_runtime_enable(&pdev->dev); if (!pm_runtime_enabled(&pdev->dev)) goto err_pm_disable;
You should really check for errors here.
Attachments:
Back to the thread
Back to the list