Files
linux/drivers
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-08 19:50:44 +02:00
2022-04-06 13:07:53 -06:00
2022-04-06 08:47:52 -06:00
2022-03-30 16:17:54 -07:00
2022-04-08 12:59:43 -07:00
2022-04-04 17:03:04 +02:00
2022-03-27 22:18:39 +02:00
2022-03-18 19:00:26 +01:00