Re: [PATCH] memory: tegra: Fix an error handling path in 'tegra186_emc_probe()'

2020-05-08 Thread Marion & Christophe JAILLET
Le 08/05/2020 à 10:49, Dan Carpenter a écrit : On Wed, May 06, 2020 at 10:09:07PM +0200, Christophe JAILLET wrote: @@ -237,7 +239,7 @@ static int tegra186_emc_probe(struct platform_device *pdev) "failed to set rate range [%lu-%lu] for %pC\n", emc

Re: [PATCH] memory: tegra: Fix an error handling path in 'tegra186_emc_probe()'

2020-05-08 Thread Dan Carpenter
On Wed, May 06, 2020 at 10:09:07PM +0200, Christophe JAILLET wrote: > @@ -237,7 +239,7 @@ static int tegra186_emc_probe(struct platform_device > *pdev) > "failed to set rate range [%lu-%lu] for %pC\n", > emc->debugfs.min_rate, emc->debugfs.max_rate, >

Re: [PATCH] memory: tegra: Fix an error handling path in 'tegra186_emc_probe()'

2020-05-07 Thread Thierry Reding
On Wed, May 06, 2020 at 10:09:07PM +0200, Christophe JAILLET wrote: > The call to 'tegra_bpmp_get()' must be balanced by a call to > 'tegra_bpmp_put()' in case of error, as already done in the remove > function. > > Add an error handling path and corresponding goto. > > Fixes: 52d15dd23f0b ("memo

[PATCH] memory: tegra: Fix an error handling path in 'tegra186_emc_probe()'

2020-05-06 Thread Christophe JAILLET
The call to 'tegra_bpmp_get()' must be balanced by a call to 'tegra_bpmp_put()' in case of error, as already done in the remove function. Add an error handling path and corresponding goto. Fixes: 52d15dd23f0b ("memory: tegra: Support DVFS on Tegra186 and later") Signed-off-by: Christophe JAILLET