Files
linux/drivers
Arnd Bergmann a76fa83cbb drm: gma500: fix logic error
commit 67a3b63a54 upstream.

gcc-8 points out a condition that almost certainly doesn't
do what the author had in mind:

drivers/gpu/drm/gma500/mdfld_intel_display.c: In function 'mdfldWaitForPipeEnable':
drivers/gpu/drm/gma500/mdfld_intel_display.c:102:37: error: bitwise comparison always evaluates to false [-Werror=tautological-compare]

This changes it to a simple bit mask operation to check
whether the bit is set.

Fixes: 026abc3332 ("gma500: initial medfield merge")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20170905074741.435324-1-arnd@arndb.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-15 10:05:44 +09:00
..
2023-05-12 16:27:16 +09:00
2023-05-12 16:28:00 +09:00
2018-07-03 18:27:19 +02:00
2023-05-15 10:05:44 +09:00
2018-05-30 13:19:56 +02:00
2018-02-25 11:05:55 +01:00
2023-05-12 16:57:29 +09:00
2017-09-09 17:39:41 +02:00
2018-05-25 17:06:35 +02:00
2023-05-15 09:15:17 +09:00
2023-05-15 09:23:14 +09:00
2023-05-15 09:23:01 +09:00
2023-05-15 09:59:16 +09:00
2023-05-15 09:51:46 +09:00
2023-05-15 08:28:33 +09:00