[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210322081606.25116-1-samirweng1979@163.com>
Date: Mon, 22 Mar 2021 16:16:06 +0800
From: samirweng1979 <samirweng1979@....com>
To: evan.quan@....com, alexander.deucher@....com,
christian.koenig@....com, airlied@...ux.ie, daniel@...ll.ch,
kenneth.feng@....com
Cc: amd-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org,
wengjianfeng <wengjianfeng@...ong.com>
Subject: [PATCH] drm/amd/pm/powerplay/smumgr/smu7_smumgr: Fix some typo error
From: wengjianfeng <wengjianfeng@...ong.com>
change 'addres' to 'address'
Signed-off-by: wengjianfeng <wengjianfeng@...ong.com>
---
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu7_smumgr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/pm/powerplay/smumgr/smu7_smumgr.c b/drivers/gpu/drm/amd/pm/powerplay/smumgr/smu7_smumgr.c
index aae2524..0de9e0e 100644
--- a/drivers/gpu/drm/amd/pm/powerplay/smumgr/smu7_smumgr.c
+++ b/drivers/gpu/drm/amd/pm/powerplay/smumgr/smu7_smumgr.c
@@ -97,7 +97,7 @@ int smu7_copy_bytes_to_smc(struct pp_hwmgr *hwmgr, uint32_t smc_start_address,
addr = smc_start_address;
while (byte_count >= 4) {
- /* Bytes are written into the SMC addres space with the MSB first. */
+ /* Bytes are written into the SMC address space with the MSB first. */
data = src[0] * 0x1000000 + src[1] * 0x10000 + src[2] * 0x100 + src[3];
result = smu7_set_smc_sram_address(hwmgr, addr, limit);
@@ -127,7 +127,7 @@ int smu7_copy_bytes_to_smc(struct pp_hwmgr *hwmgr, uint32_t smc_start_address,
extra_shift = 8 * (4 - byte_count);
while (byte_count > 0) {
- /* Bytes are written into the SMC addres space with the MSB first. */
+ /* Bytes are written into the SMC address space with the MSB first. */
data = (0x100 * data) + *src++;
byte_count--;
}
--
1.9.1
Powered by blists - more mailing lists