summaryrefslogtreecommitdiff
path: root/drivers/media/video
diff options
context:
space:
mode:
authorAdam Jiang <chaoj@nvidia.com>2012-10-10 18:04:51 +0900
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:38:24 -0700
commit472193e35299bf6cecb2ce8dc1cf4e2d4472153e (patch)
treeef66c17bdf7295bb5dad2096b642f97417884a5e /drivers/media/video
parent2e37dfceb3a5a6104341d2d59de38e40d8d73c01 (diff)
video: tegra: dtv: Add DTV_STATUS into debugfs
Expose DTV_STATUS register in debugfs which could be read by user land applications. Removed read operation over DTV_FIFO registers which may cause data loss. Bug 1061456 Bug 1258577 (cherry picked from commit e262f13e59e716d12a29116d24931af430909dd8) (cherry picked from commit a7668922b555aca4ca0f5ca0569e4aa45383cb81) (cherry picked from commit d14000d021e65b34735a167b2f313695b984e54c) (cherry picked from commit 6a43783d1f9ce050b330eec42f1f77636073157d) Change-Id: If4b5bd94fe8cc62f8a9695ec114345bd7cdd90a0 Signed-off-by: Adam Jiang <chaoj@nvidia.com> Reviewed-on: http://git-master/r/144430 Reviewed-on: http://git-master/r/224678 Reviewed-on: http://git-master/r/244466 Reviewed-on: http://git-master/r/256182 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/tegra/tegra_dtv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/tegra/tegra_dtv.c b/drivers/media/video/tegra/tegra_dtv.c
index d85df5697099..161968cadd35 100644
--- a/drivers/media/video/tegra/tegra_dtv.c
+++ b/drivers/media/video/tegra/tegra_dtv.c
@@ -2,8 +2,8 @@
* tegra_dtv.c - Tegra DTV interface driver
*
* Author: Adam Jiang <chaoj@nvidia.com>
- * Copyright (c) 2011, NVIDIA Corporation.
- * Copyright (c) 2012, NVIDIA Corporation.
+ *
+ * Copyright (c) 2011-2013, NVIDIA Corporation. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -695,8 +695,8 @@ static int dtv_reg_show(struct seq_file *s, void *unused)
tegra_dtv_readl(dtv_ctx, DTV_MODE));
seq_printf(s, "DTV_CONTROL: 0x%08x\n",
tegra_dtv_readl(dtv_ctx, DTV_CTRL));
- seq_printf(s, "DTV_FIFO: 0x%08x\n",
- tegra_dtv_readl(dtv_ctx, DTV_RX_FIFO));
+ seq_printf(s, "DTV_STATUS: 0x%08x\n",
+ tegra_dtv_readl(dtv_ctx, DTV_STATUS));
return 0;