Skip to content

Commit 1392377

Browse files
committed
Merge tag 'tegra-for-6.17-firmware-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into arm/fixes
firmware: tegra: Fixes for v6.17 This contains a simple patch to avoid a warning in the case where the optional memory-region property is missing. * tag 'tegra-for-6.17-firmware-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux: firmware: tegra: Do not warn on missing memory-region property Signed-off-by: Arnd Bergmann <[email protected]>
2 parents 6866b78 + 6131690 commit 1392377

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

drivers/firmware/tegra/bpmp-tegra186.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,10 @@ static int tegra186_bpmp_dram_init(struct tegra_bpmp *bpmp)
198198

199199
err = of_reserved_mem_region_to_resource(bpmp->dev->of_node, 0, &res);
200200
if (err < 0) {
201-
dev_warn(bpmp->dev, "failed to parse memory region: %d\n", err);
201+
if (err != -ENODEV)
202+
dev_warn(bpmp->dev,
203+
"failed to parse memory region: %d\n", err);
204+
202205
return err;
203206
}
204207

0 commit comments

Comments
 (0)