aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2581-drm-amd-display-Fix-brace-style.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2581-drm-amd-display-Fix-brace-style.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2581-drm-amd-display-Fix-brace-style.patch50
1 files changed, 50 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2581-drm-amd-display-Fix-brace-style.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2581-drm-amd-display-Fix-brace-style.patch
new file mode 100644
index 00000000..b5a661a7
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2581-drm-amd-display-Fix-brace-style.patch
@@ -0,0 +1,50 @@
+From 1449f1f561a1d6b2bcb341dce4568a0d4705561a Mon Sep 17 00:00:00 2001
+From: Tom St Denis <tom.stdenis@amd.com>
+Date: Tue, 17 Oct 2017 12:13:39 -0400
+Subject: [PATCH 2581/4131] drm/amd/display: Fix brace style
+
+Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
+Acked-by: Andrey Grodzovsky <andey.grodzovsky@amd.com>
+Reviewed-by: Harry Wentland <harry.wentland@amd.com>
+---
+ drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c | 15 ++++++---------
+ 1 file changed, 6 insertions(+), 9 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
+index ffec373..9f3ebbf 100644
+--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
++++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
+@@ -208,24 +208,21 @@ static void remove_timer_handler(struct amdgpu_device *adev,
+ DM_IRQ_TABLE_LOCK(adev, irq_table_flags);
+ }
+
+- if (handler_in == NULL) {
+- /* Remove ALL handlers. */
++ /* Remove ALL handlers. */
++ if (handler_in == NULL)
+ continue;
+- }
+
+- if (handler_in == handler_temp) {
+- /* Remove a SPECIFIC handler.
+- * Found our handler - we can stop here. */
++ /* Remove a SPECIFIC handler.
++ * Found our handler - we can stop here. */
++ if (handler_in == handler_temp)
+ break;
+- }
+ }
+
+ DM_IRQ_TABLE_UNLOCK(adev, irq_table_flags);
+
+- if (handler_in != NULL && handler_removed == false) {
++ if (handler_in != NULL && handler_removed == false)
+ DRM_ERROR("DM_IRQ: handler: %p is not in the list!\n",
+ handler_in);
+- }
+ }
+
+ static bool
+--
+2.7.4
+