diff options
author | Kerwin Wan <kerwinw@nvidia.com> | 2014-04-10 23:24:10 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:09:11 -0400 |
commit | 875d12c7a06bc6906bb072feb15227addec22276 (patch) | |
tree | 0c3755b00c06d24bd0549a28f8b6bd7cda44af06 /include | |
parent | 0389835edbb9687fdd28bc25668f7cd23974b7c3 (diff) |
gpu: nvgpu: gk20a: check the return value of gk20a_channel_busy
gk20a_channel_busy is called to host gpu so that gk20a can be accessed.
But it may return error like if gpu fails to be powered on. Always check
the return value of gk20a_channel_busy to avoid illegal access to gk20a.
Bug 1488409
Change-Id: Ie22da9e436ee5ea711003530419f546a73791b73
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/395180
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions