diff mbox series

soc/tegra: fuse: fix typo in tegra210_init_speedo_data

Message ID 20190104071646.15828-3-josephl@nvidia.com (mailing list archive)
State Mainlined, archived
Commit d94da0dd686d249ab0f6500d41169a7eff9a4b21
Headers show
Series soc/tegra: fuse: fix typo in tegra210_init_speedo_data | expand

Commit Message

Joseph Lo Jan. 4, 2019, 7:16 a.m. UTC
Fix typo when reading SoC speedo value from fuse SoC speedo register.

Reported-by: Mark Zhang <markz@nvidia.com>
Signed-off-by: Joseph Lo <josephl@nvidia.com>
---
 drivers/soc/tegra/fuse/speedo-tegra210.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Joseph Lo Jan. 25, 2019, 4:21 a.m. UTC | #1
Hi Jon,

Could you help me to review this patch?

Thanks,
Joseph

On 1/4/19 3:16 PM, Joseph Lo wrote:
> Fix typo when reading SoC speedo value from fuse SoC speedo register.
> 
> Reported-by: Mark Zhang <markz@nvidia.com>
> Signed-off-by: Joseph Lo <josephl@nvidia.com>
> ---
>   drivers/soc/tegra/fuse/speedo-tegra210.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/soc/tegra/fuse/speedo-tegra210.c b/drivers/soc/tegra/fuse/speedo-tegra210.c
> index 5373f4c16b54..8ed35d9851f8 100644
> --- a/drivers/soc/tegra/fuse/speedo-tegra210.c
> +++ b/drivers/soc/tegra/fuse/speedo-tegra210.c
> @@ -131,7 +131,7 @@ void __init tegra210_init_speedo_data(struct tegra_sku_info *sku_info)
>   
>   	soc_speedo[0] = tegra_fuse_read_early(FUSE_SOC_SPEEDO_0);
>   	soc_speedo[1] = tegra_fuse_read_early(FUSE_SOC_SPEEDO_1);
> -	soc_speedo[2] = tegra_fuse_read_early(FUSE_CPU_SPEEDO_2);
> +	soc_speedo[2] = tegra_fuse_read_early(FUSE_SOC_SPEEDO_2);
>   
>   	cpu_iddq = tegra_fuse_read_early(FUSE_CPU_IDDQ) * 4;
>   	soc_iddq = tegra_fuse_read_early(FUSE_SOC_IDDQ) * 4;
>
Thierry Reding Jan. 25, 2019, 11:45 a.m. UTC | #2
On Fri, Jan 04, 2019 at 03:16:46PM +0800, Joseph Lo wrote:
> Fix typo when reading SoC speedo value from fuse SoC speedo register.
> 
> Reported-by: Mark Zhang <markz@nvidia.com>
> Signed-off-by: Joseph Lo <josephl@nvidia.com>
> ---
>  drivers/soc/tegra/fuse/speedo-tegra210.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to for-5.1/soc, thanks.

Thierry
diff mbox series

Patch

diff --git a/drivers/soc/tegra/fuse/speedo-tegra210.c b/drivers/soc/tegra/fuse/speedo-tegra210.c
index 5373f4c16b54..8ed35d9851f8 100644
--- a/drivers/soc/tegra/fuse/speedo-tegra210.c
+++ b/drivers/soc/tegra/fuse/speedo-tegra210.c
@@ -131,7 +131,7 @@  void __init tegra210_init_speedo_data(struct tegra_sku_info *sku_info)
 
 	soc_speedo[0] = tegra_fuse_read_early(FUSE_SOC_SPEEDO_0);
 	soc_speedo[1] = tegra_fuse_read_early(FUSE_SOC_SPEEDO_1);
-	soc_speedo[2] = tegra_fuse_read_early(FUSE_CPU_SPEEDO_2);
+	soc_speedo[2] = tegra_fuse_read_early(FUSE_SOC_SPEEDO_2);
 
 	cpu_iddq = tegra_fuse_read_early(FUSE_CPU_IDDQ) * 4;
 	soc_iddq = tegra_fuse_read_early(FUSE_SOC_IDDQ) * 4;