mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
Add fault injection to the function nvgpu_cond_timedwait(). This allows unit tests to test the timeout case when testing code that uses NVGPU_COND_WAIT(). JIRA NVGPU-2224 Change-Id: I90656f29146f90afc08c6d5e0500e68f01a92043 Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2258705 GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>