lkml.org 
[lkml]   [2021]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v7 24/37] soc/tegra: fuse: Enable fuse clock on suspend
From
Date
02.07.2021 02:27, Dmitry Osipenko пишет:
> +static int __maybe_unused tegra_fuse_resume(struct device *dev)
> +{
> + int err;
> +
> + /*
> + * Critical for RAM re-repair operation, which must occur on resume
> + * from LP1 system suspend and as part of CCPLEX cluster switching.
> + */
> + if (fuse->soc->clk_suspend_on) {
> + err = pm_runtime_force_resume(dev);
> + if (err)
> + return err;
> + }
> +
> + return 0;
> +}
> +
> +static int __maybe_unused tegra_fuse_suspend(struct device *dev)
> +{
> + int err;
> +
> + if (fuse->soc->clk_suspend_on) {
> + err = pm_runtime_force_suspend(dev);
> + if (err)
> + return err;
> + }

I just noticed that something gone wrong with this patch, the condition
should have been inverted. I'll fix it in the next version.

I may also try to factor out these fuse and some other patches which
could become a 5.15 material.

\
 
 \ /
  Last update: 2021-07-21 18:01    [W:0.262 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site