summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMika Liljeberg <mliljeberg@nvidia.com>2018-07-04 07:47:58 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-07-04 17:04:08 -0400
commitd024dd478fe6a0a8b1b849911028b05ac50cd209 (patch)
treeecf829fdd1cd563e5b5e7e76a05b210677af3f91
parent3c142f6fa13bb94b77e1b546826b751d50a11e0a (diff)
capture: reduce log prints
Reduce excessive log prints. Bug 2202282 Change-Id: I9b58d9cd4f06e85dd8b6bebd4ad49a555ff4f787 Signed-off-by: Mika Liljeberg <mliljeberg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1770562 Reviewed-by: Kirill Artamonov <kartamonov@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Kalle Jokiniemi <kjokiniemi@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
-rw-r--r--drivers/media/platform/tegra/camera/isp/capture_isp.c4
-rw-r--r--drivers/media/platform/tegra/camera/isp/isp_channel.c4
-rw-r--r--drivers/media/platform/tegra/camera/vi/capture.c4
-rw-r--r--drivers/media/platform/tegra/camera/vi/capture_vi_channel.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/drivers/media/platform/tegra/camera/isp/capture_isp.c b/drivers/media/platform/tegra/camera/isp/capture_isp.c
index 6cb4fc02f..aa1af5435 100644
--- a/drivers/media/platform/tegra/camera/isp/capture_isp.c
+++ b/drivers/media/platform/tegra/camera/isp/capture_isp.c
@@ -505,11 +505,11 @@ int isp_capture_setup(struct tegra_isp_channel *chan,
505 config->stats_progress_sp = capture->stats_progress_sp; 505 config->stats_progress_sp = capture->stats_progress_sp;
506 506
507#ifdef HAVE_ISP_GOS_TABLES 507#ifdef HAVE_ISP_GOS_TABLES
508 dev_info(chan->isp_dev, "%u GoS tables configured.\n", 508 dev_dbg(chan->isp_dev, "%u GoS tables configured.\n",
509 capture->num_gos_tables); 509 capture->num_gos_tables);
510 for (i = 0; i < capture->num_gos_tables; i++) { 510 for (i = 0; i < capture->num_gos_tables; i++) {
511 config->isp_gos_tables[i] = (iova_t)capture->gos_tables[i]; 511 config->isp_gos_tables[i] = (iova_t)capture->gos_tables[i];
512 dev_info(chan->isp_dev, "gos[%d] = 0x%08llx\n", 512 dev_dbg(chan->isp_dev, "gos[%d] = 0x%08llx\n",
513 i, (u64)capture->gos_tables[i]); 513 i, (u64)capture->gos_tables[i]);
514 } 514 }
515 config->num_isp_gos_tables = capture->num_gos_tables; 515 config->num_isp_gos_tables = capture->num_gos_tables;
diff --git a/drivers/media/platform/tegra/camera/isp/isp_channel.c b/drivers/media/platform/tegra/camera/isp/isp_channel.c
index de0a43db1..14c612aab 100644
--- a/drivers/media/platform/tegra/camera/isp/isp_channel.c
+++ b/drivers/media/platform/tegra/camera/isp/isp_channel.c
@@ -181,7 +181,7 @@ static int isp_channel_power_on(struct tegra_isp_channel *chan)
181{ 181{
182 int ret = 0; 182 int ret = 0;
183 183
184 dev_info(chan->isp_dev, "isp_channel_power_on\n"); 184 dev_dbg(chan->isp_dev, "isp_channel_power_on\n");
185 185
186 ret = nvhost_module_add_client(chan->ndev, chan->priv); 186 ret = nvhost_module_add_client(chan->ndev, chan->priv);
187 if (ret < 0) { 187 if (ret < 0) {
@@ -200,7 +200,7 @@ static int isp_channel_power_on(struct tegra_isp_channel *chan)
200 200
201static void isp_channel_power_off(struct tegra_isp_channel *chan) 201static void isp_channel_power_off(struct tegra_isp_channel *chan)
202{ 202{
203 dev_info(chan->isp_dev, "isp_channel_power_off\n"); 203 dev_dbg(chan->isp_dev, "isp_channel_power_off\n");
204 204
205 nvhost_module_idle(chan->ndev); 205 nvhost_module_idle(chan->ndev);
206 nvhost_module_remove_client(chan->ndev, chan->priv); 206 nvhost_module_remove_client(chan->ndev, chan->priv);
diff --git a/drivers/media/platform/tegra/camera/vi/capture.c b/drivers/media/platform/tegra/camera/vi/capture.c
index 087a286d4..9f4ac0f15 100644
--- a/drivers/media/platform/tegra/camera/vi/capture.c
+++ b/drivers/media/platform/tegra/camera/vi/capture.c
@@ -397,11 +397,11 @@ int vi_capture_setup(struct tegra_vi_channel *chan,
397 config->requests = setup->iova; 397 config->requests = setup->iova;
398 398
399#ifdef HAVE_VI_GOS_TABLES 399#ifdef HAVE_VI_GOS_TABLES
400 dev_info(chan->dev, "%u GoS tables configured.\n", 400 dev_dbg(chan->dev, "%u GoS tables configured.\n",
401 capture->num_gos_tables); 401 capture->num_gos_tables);
402 for (i = 0; i < capture->num_gos_tables; i++) { 402 for (i = 0; i < capture->num_gos_tables; i++) {
403 config->vi_gos_tables[i] = (iova_t)capture->gos_tables[i]; 403 config->vi_gos_tables[i] = (iova_t)capture->gos_tables[i];
404 dev_info(chan->dev, "gos[%d] = 0x%08llx\n", 404 dev_dbg(chan->dev, "gos[%d] = 0x%08llx\n",
405 i, (u64)capture->gos_tables[i]); 405 i, (u64)capture->gos_tables[i]);
406 } 406 }
407 config->num_vi_gos_tables = capture->num_gos_tables; 407 config->num_vi_gos_tables = capture->num_gos_tables;
diff --git a/drivers/media/platform/tegra/camera/vi/capture_vi_channel.c b/drivers/media/platform/tegra/camera/vi/capture_vi_channel.c
index cee39bb5a..f5348f186 100644
--- a/drivers/media/platform/tegra/camera/vi/capture_vi_channel.c
+++ b/drivers/media/platform/tegra/camera/vi/capture_vi_channel.c
@@ -261,7 +261,7 @@ static int vi_channel_power_on_vi_device(struct tegra_vi_channel *chan)
261{ 261{
262 int ret = 0; 262 int ret = 0;
263 263
264 dev_info(chan->dev, "vi_channel_power_on_vi_device\n"); 264 dev_dbg(chan->dev, "vi_channel_power_on_vi_device\n");
265 265
266 ret = nvhost_module_add_client(chan->ndev, chan->capture_data); 266 ret = nvhost_module_add_client(chan->ndev, chan->capture_data);
267 if (ret < 0) { 267 if (ret < 0) {
@@ -280,7 +280,7 @@ static int vi_channel_power_on_vi_device(struct tegra_vi_channel *chan)
280 280
281static void vi_channel_power_off_vi_device(struct tegra_vi_channel *chan) 281static void vi_channel_power_off_vi_device(struct tegra_vi_channel *chan)
282{ 282{
283 dev_info(chan->dev, "vi_channel_power_off_vi_device\n"); 283 dev_dbg(chan->dev, "vi_channel_power_off_vi_device\n");
284 284
285 nvhost_module_idle(chan->ndev); 285 nvhost_module_idle(chan->ndev);
286 nvhost_module_remove_client(chan->ndev, chan->capture_data); 286 nvhost_module_remove_client(chan->ndev, chan->capture_data);