Re: [PATCH] drm/gma500: fix a missing break in psb_intel_crtc_mode_set

2022-04-06 Thread Patrik Jakobsson
On Fri, Apr 1, 2022 at 1:50 PM Xiaomeng Tong wrote: > > Instead of exiting the loop as expected when an entry is found, the > list_for_each_entry() continues until the traversal is complete. > when found the entry, add a break after the switch statement. > > Signed-off-by: Xiaomeng Tong Thanks f

[PATCH] drm/gma500: fix a missing break in psb_intel_crtc_mode_set

2022-04-01 Thread Xiaomeng Tong
Instead of exiting the loop as expected when an entry is found, the list_for_each_entry() continues until the traversal is complete. when found the entry, add a break after the switch statement. Signed-off-by: Xiaomeng Tong --- drivers/gpu/drm/gma500/psb_intel_display.c | 2 ++ 1 file changed, 2