]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
tegra: Add function to release resources
authorAndrew Chew <achew@nvidia.com>
Wed, 1 Aug 2012 23:52:42 +0000 (16:52 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 08:27:05 +0000 (01:27 -0700)
commit487d8d26bbc24f96744b2c7bb15efccbfe1e631c
tree7ecabc20a295f665dbf73997e9ea7428015f1865
parentb5e65c917e41d68f33e8aaa7a4bfd57b440b9e90
tegra: Add function to release resources

Add a companion function to nvhost_client_device_get_resources() called
nvhost_client_device_put_resources() that does the opposite thing.  This
is useful for any nvhost clients that need to be loaded as modules, since
the driver removal path will be exercised in that case.

Signed-off-by: Andrew Chew <achew@nvidia.com>
Change-Id: I72ffc1e8d3eb7bc0d86896e80f121d2a432abbad
Reviewed-on: http://git-master/r/145343
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>
Rebase-Id: Rb1f9c754c85da8bb0c1171e80f597b26f40c426a
drivers/video/tegra/host/bus_client.c
drivers/video/tegra/host/bus_client.h