summaryrefslogtreecommitdiffstats
path: root/userspace/units/posix-bitops/Makefile
diff options
context:
space:
mode:
authorLeon Yu <leoyu@nvidia.com>2019-10-24 22:15:57 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2019-10-25 13:10:30 -0400
commit10b3b5b1d58cbade2c8d973f80291e012efd1ad3 (patch)
treee156d8dcc691b652cfef4d7f5c42e8d5e27fba43 /userspace/units/posix-bitops/Makefile
parentbb1b3218c6e301b422b426a9c646fc9ece6fe0e2 (diff)
nvgpu: fix railgate_enable_store
Writing same value to railgate_enable_store should be treated as nop and made successfully. Doing so is not only an optimization for the operation but also convention that users expect for "settings". This change is primary for fixing a peculiar situation in the driver: root@localhost:/sys/devices/17000000.gp10b# cat railgate_enable 0 root@localhost:/sys/devices/17000000.gp10b# echo 0 > railgate_enable bash: echo: write error: Invalid argument Attempt to disable railgating on a platform where railgating isn't supported shouldn't be treated as 'invalid'. It's disabled after all. Bug 200562094 Change-Id: I3c04934bdbaf337c33d7de9cac6d53c96b4dacae Signed-off-by: Leon Yu <leoyu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2225476 Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Debarshi Dutta <ddutta@nvidia.com> Reviewed-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'userspace/units/posix-bitops/Makefile')
0 files changed, 0 insertions, 0 deletions