]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
gpu: nvgpu: Install fd after no errors can happen
authorTerje Bergstrom <tbergstrom@nvidia.com>
Wed, 11 Feb 2015 18:13:05 +0000 (10:13 -0800)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Mon, 23 Feb 2015 15:53:27 +0000 (07:53 -0800)
commita2f9f52f4cf9abfb69f38b17af47292fca0599e2
treecc5953d6ba700846dd21f373ae0b98bba1d12427
parent68198328fdcb0513898650e996d62a57684aa9bf
gpu: nvgpu: Install fd after no errors can happen

fd_install() should be called only once all other initialization is
done and no errors can happen.

Bug 1589104

Change-Id: I822511a64d4c6fa59c8e772a896dbd6818459c97
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/706928
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
drivers/gpu/nvgpu/gk20a/channel_gk20a.c
drivers/gpu/nvgpu/gk20a/ctrl_gk20a.c