Searched hist:"854 d128b8c6c4fa47810ac7cf87c16b8085c3199" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/soc/tegra/fuse/ |
H A D | fuse-tegra.c | diff 854d128b8c6c4fa47810ac7cf87c16b8085c3199 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>
|