Files
linux/drivers/gpu/drm
Xiaomeng Tong ac2f033aa4 drm/gma500: fix a potential repeat execution in psb_driver_load
Instead of exiting the loop as expected when an entry is found, the
list_for_each_entry() continues until the traversal is complete. To
avoid potential executing 'ret = gma_backlight_init(dev);' repeatly,
goto outside the loop when found entry by replacing switch/case with
if statement.

Signed-off-by: Xiaomeng Tong <xiam0nd.tong@gmail.com>
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
[Fixed indentation]
Link: https://patchwork.freedesktop.org/patch/msgid/20220413051105.5612-1-xiam0nd.tong@gmail.com
2022-04-20 09:11:01 +02:00
..
2022-04-18 20:46:55 +01:00
2022-04-18 20:46:55 +01:00
2022-02-07 16:35:35 -08:00
2022-04-07 11:31:52 +02:00
2022-02-07 16:35:35 -08:00
2022-04-08 13:38:07 +02:00
2022-04-07 12:53:54 +02:00
2022-03-16 09:36:13 +01:00
2022-02-07 16:35:35 -08:00
2022-04-12 09:27:20 +03:00
2022-04-07 12:53:53 +02:00
2021-11-30 09:41:28 +01:00
2021-11-30 09:41:28 +01:00
2022-02-07 16:35:35 -08:00
2022-04-12 09:27:20 +03:00