Skip to content
Commit 854d128b authored by Yang Yingliang's avatar Yang Yingliang Committed by Thierry Reding
Browse files

soc/tegra: fuse: Don't return -ENOMEM when allocate lookups failed



fuse->base can not be unmapped if allocate lookups failed in
tegra_init_fuse(), because it is an early_initcall, the driver
will be loaded anyway and fuse->base will be accessed by other
functions later, so remove the return -ENOMEM after allocating
lookups failed to make less confusing.

Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
[treding@nvidia.com: drop error message, out-of-memory is noisy anyway]
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 029f7e24
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment