From: wengjianfeng <wengjianf...@yulong.com>

change 'addres' to 'address'

Signed-off-by: wengjianfeng <wengjianf...@yulong.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

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to