lkml.org 
[lkml]   [2022]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 04/11] thermal: k3_j72xx_bandgap: map fuse_base only for erratum workaround
On October 25, 2022 thus sayeth Bryan Brattlof:
> Some of TI's J721E SoCs require a software trimming procedure for the
> temperature monitors to function properly. To determine if a particular
> J721E is not affected by this erratum, both bits in the WKUP_SPARE_FUSE0
> region must be set. Other SoCs, not affected by this erratum, will not
> need this region.
>
> Map the 'fuse_base' region only when the erratum fix is needed.
>
> Signed-off-by: Bryan Brattlof <bb@ti.com>
> ---
> drivers/thermal/k3_j72xx_bandgap.c | 37 ++++++++++++++++++------------
> 1 file changed, 22 insertions(+), 15 deletions(-)
>

...

>
> - if (workaround_needed)
> - devm_iounmap(dev, fuse_base);
> -

Ugh... This is wrong.

Of course I will catch it right after I send this out

Sorry for the noise everyone
~Bryan

\
 
 \ /
  Last update: 2022-10-25 21:43    [W:0.088 / U:1.828 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site