Skip to content
Snippets Groups Projects
Unverified Commit 7029daa3 authored by bunnei's avatar bunnei Committed by GitHub
Browse files

Merge pull request #475 from ogniK5377/nvos-getconfig

NvOsGetConfigU32 should return null instead of 0 for default output value
parents 15c388e0 6138075d
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ u32 nvhost_ctrl::NvOsGetConfigU32(const std::vector<u8>& input, std::vector<u8>&
} else if (!strcmp(params.param_str.data(), "NVRM_GPU_PREVENT_USE")) {
params.config_str[0] = '0';
} else {
params.config_str[0] = '0';
params.config_str[0] = '\0';
}
} else {
UNIMPLEMENTED(); // unknown domain? Only nv has been seen so far on hardware
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment