Loading drivers/slimbus/slim-msm-ngd.c +3 −6 Original line number Diff line number Diff line Loading @@ -1798,13 +1798,10 @@ static int ngd_slim_runtime_suspend(struct device *device) int ret = 0; mutex_lock(&dev->tx_lock); ret = ngd_slim_power_down(dev); if (ret) { if (ret != -EBUSY) if (ret && ret != -EBUSY) SLIM_INFO(dev, "slim resource not idle:%d\n", ret); dev->state = MSM_CTRL_AWAKE; } else { if (!ret || ret == -ETIMEDOUT) dev->state = MSM_CTRL_ASLEEP; } mutex_unlock(&dev->tx_lock); SLIM_INFO(dev, "Slim runtime suspend: ret %d\n", ret); return ret; Loading Loading
drivers/slimbus/slim-msm-ngd.c +3 −6 Original line number Diff line number Diff line Loading @@ -1798,13 +1798,10 @@ static int ngd_slim_runtime_suspend(struct device *device) int ret = 0; mutex_lock(&dev->tx_lock); ret = ngd_slim_power_down(dev); if (ret) { if (ret != -EBUSY) if (ret && ret != -EBUSY) SLIM_INFO(dev, "slim resource not idle:%d\n", ret); dev->state = MSM_CTRL_AWAKE; } else { if (!ret || ret == -ETIMEDOUT) dev->state = MSM_CTRL_ASLEEP; } mutex_unlock(&dev->tx_lock); SLIM_INFO(dev, "Slim runtime suspend: ret %d\n", ret); return ret; Loading