summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/host/host1x/host1x_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/tegra/host/host1x/host1x_debug.c')
-rw-r--r--drivers/video/tegra/host/host1x/host1x_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/tegra/host/host1x/host1x_debug.c b/drivers/video/tegra/host/host1x/host1x_debug.c
index c788f82288c9..06b09d20c55b 100644
--- a/drivers/video/tegra/host/host1x/host1x_debug.c
+++ b/drivers/video/tegra/host/host1x/host1x_debug.c
@@ -275,8 +275,8 @@ static void t20_debug_show_channel_cdma(struct nvhost_master *m,
cbstat = readl(m->sync_aperture + HOST1X_SYNC_CBSTAT_x(chid));
nvhost_debug_output(o, "%d-%s (%d): ", chid,
- channel->dev->name,
- atomic_read(&channel->dev->dev.power.usage_count));
+ channel->dev->name,
+ channel->dev->refcount);
if (HOST1X_VAL(CHANNEL_DMACTRL, DMASTOP, dmactrl)
|| !channel->cdma.push_buffer.mapped) {