aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/4371-drm-amd-powerplay-fix-spelling-mistake-contruct-cons.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/4371-drm-amd-powerplay-fix-spelling-mistake-contruct-cons.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/4371-drm-amd-powerplay-fix-spelling-mistake-contruct-cons.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/4371-drm-amd-powerplay-fix-spelling-mistake-contruct-cons.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/4371-drm-amd-powerplay-fix-spelling-mistake-contruct-cons.patch
new file mode 100644
index 00000000..4f52e5d5
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/4371-drm-amd-powerplay-fix-spelling-mistake-contruct-cons.patch
@@ -0,0 +1,44 @@
+From f4fb48618d13cd04a0350270c5b8d32e1d72fffa Mon Sep 17 00:00:00 2001
+From: Colin Ian King <colin.king@canonical.com>
+Date: Sat, 28 Apr 2018 23:21:55 +0100
+Subject: [PATCH 4371/5725] drm/amd/powerplay: fix spelling mistake: "contruct"
+ -> "construct"
+
+Trivial fix to spelling mistake in PP_ASSERT_WITH_CODE message text
+
+Signed-off-by: Colin Ian King <colin.king@canonical.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 2 +-
+ drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
+index 194d45a..3f0162d 100644
+--- a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
++++ b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
+@@ -1271,7 +1271,7 @@ static int smu7_enable_dpm_tasks(struct pp_hwmgr *hwmgr)
+
+ tmp_result = smu7_construct_voltage_tables(hwmgr);
+ PP_ASSERT_WITH_CODE((0 == tmp_result),
+- "Failed to contruct voltage tables!",
++ "Failed to construct voltage tables!",
+ result = tmp_result);
+ }
+ smum_initialize_mc_reg_table(hwmgr);
+diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
+index 055c692..0ad2ca3 100644
+--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
++++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
+@@ -2860,7 +2860,7 @@ static int vega10_enable_dpm_tasks(struct pp_hwmgr *hwmgr)
+
+ tmp_result = vega10_construct_voltage_tables(hwmgr);
+ PP_ASSERT_WITH_CODE(!tmp_result,
+- "Failed to contruct voltage tables!",
++ "Failed to construct voltage tables!",
+ result = tmp_result);
+
+ tmp_result = vega10_init_smc_table(hwmgr);
+--
+2.7.4
+