Re: [Patch v1 01/10] memory: tegra: add interconnect support for DRAM scaling in Tegra234

From: Dmitry Osipenko
Date: Tue Dec 20 2022 - 13:06:28 EST


20.12.2022 19:02, Sumit Gupta пишет:
> + if (tegra_bpmp_mrq_is_supported(emc->bpmp, MRQ_BWMGR_INT)) {
> + err = tegra_emc_interconnect_init(emc);
> + if (!err)
> + return err;

"return err" doesn't sound good

> + dev_err(&pdev->dev, "tegra_emc_interconnect_init failed:%d\n", err);
> + goto put_bpmp;

Move error message to tegra_emc_interconnect_init()