summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorPraneeth Paladugu <ppaladug@codeaurora.org>2016-10-11 16:49:13 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-10-23 22:00:47 -0700
commit9bdfb919ed1d0b6aa6d452e451845145c24fd204 (patch)
tree5700ff4bdb23079fa1741e6dc2d998637bcf1a99 /drivers/media
parent46aa49c1188a77f52dc4969f82292c176d8f399b (diff)
msm: vidc: Update log level for power collpase
Update Power collapse log messages to VIDC_PROF to be in sync with other clock related logs. Today these logs are at VIDC_DBG and VIDC_INFO which also has lot of other logs. Change-Id: Id69802df24c4eaf4d8e9bc0c438d250090f9a38f Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/platform/msm/vidc/venus_hfi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/platform/msm/vidc/venus_hfi.c b/drivers/media/platform/msm/vidc/venus_hfi.c
index 8332c7f4db43..c87b6fc585c7 100644
--- a/drivers/media/platform/msm/vidc/venus_hfi.c
+++ b/drivers/media/platform/msm/vidc/venus_hfi.c
@@ -4263,7 +4263,7 @@ static inline int __suspend(struct venus_hfi_device *device)
return 0;
}
- dprintk(VIDC_DBG, "Entering power collapse\n");
+ dprintk(VIDC_PROF, "Entering power collapse\n");
if (device->res->pm_qos_latency_us &&
pm_qos_request_active(&device->qos))
@@ -4276,7 +4276,7 @@ static inline int __suspend(struct venus_hfi_device *device)
}
__venus_power_off(device, true);
- dprintk(VIDC_INFO, "Venus power collapsed\n");
+ dprintk(VIDC_PROF, "Venus power collapsed\n");
return rc;
err_tzbsp_suspend:
@@ -4298,7 +4298,7 @@ static inline int __resume(struct venus_hfi_device *device)
return -EINVAL;
}
- dprintk(VIDC_DBG, "Resuming from power collapse\n");
+ dprintk(VIDC_PROF, "Resuming from power collapse\n");
rc = __venus_power_on(device);
if (rc) {
dprintk(VIDC_ERR, "Failed to power on venus\n");
@@ -4334,7 +4334,7 @@ static inline int __resume(struct venus_hfi_device *device)
pm_qos_add_request(&device->qos, PM_QOS_CPU_DMA_LATENCY,
device->res->pm_qos_latency_us);
}
- dprintk(VIDC_INFO, "Resumed from power collapse\n");
+ dprintk(VIDC_PROF, "Resumed from power collapse\n");
exit:
device->skip_pc_count = 0;
return rc;