]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: host: move vi_set_la() to tegra_vi.c
authorBryan Wu <pengw@nvidia.com>
Thu, 31 Oct 2013 19:18:40 +0000 (12:18 -0700)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Mon, 4 Nov 2013 08:52:17 +0000 (00:52 -0800)
commit2782ab08b4fa20c949cddbebe8bdd0266c261d72
treedb62e46bf4557ebccd6ec49b14570b358c357ac5
parentb08a2f71e74e0bef904f706d642f55465e4856d4
video: tegra: host: move vi_set_la() to tegra_vi.c

vi_set_la() in vi.c makes vi.c can't be built as a module. So move it
to tegra_vi.c which will always built in. And add a static mutex lock
for bandwidth operation in tegra_vi.c after removing struct vi_lock.

Bug 1349044

Change-Id: I7bfdfba1acbe4c1c7b3015561f948b98bc14e466
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/323622
Reviewed-by: Kushal Shah <kshah@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/video/tegra/host/vi/tegra_vi.c
drivers/video/tegra/host/vi/vi.c
drivers/video/tegra/host/vi/vi.h