Home
last modified time | relevance | path

Searched hist:"854 d128b" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/soc/tegra/fuse/
H A Dfuse-tegra.c854d128b Mon Apr 12 09:05:27 CDT 2021 Yang Yingliang <yangyingliang@huawei.com> 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: Yang Yingliang <yangyingliang@huawei.com>
[treding@nvidia.com: drop error message, out-of-memory is noisy anyway]
Signed-off-by: Thierry Reding <treding@nvidia.com>