video: tegra: host: Fix race in debug spew
authorTerje Bergstrom <tbergstrom@nvidia.com>
Fri, 13 Sep 2013 05:51:49 +0000 (08:51 +0300)
committerDan Willemsen <dwillemsen@nvidia.com>
Fri, 27 Sep 2013 00:46:45 +0000 (17:46 -0700)
commitf819f6d2c89725eb4ef05e07d4af9ccb9c88bbdc
treef613f019e206da44eabbeb4f85db68e9a43c8b86
parent8bb02a8fe30a2015d679cd4916be9cc5c77aeaa2
video: tegra: host: Fix race in debug spew

Channel can be torn down while its contents is being dumped to UART.
Fix the race by taking a proper channel reference.

Also host1x was added to the list of nvhost clients.

Bug 1341658

Change-Id: I90b5bfdb38b0daf9d26432059e34f409220a6c29
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/274113
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
drivers/video/tegra/host/bus_client.c
drivers/video/tegra/host/debug.c
drivers/video/tegra/host/gk20a/ctrl_gk20a.c
drivers/video/tegra/host/host1x/host1x.c
drivers/video/tegra/host/nvhost_as.c
drivers/video/tegra/host/nvhost_channel.c
drivers/video/tegra/host/nvhost_channel.h