linux/drivers/gpu/drm/gma500
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
..
backlight.c drm/gma500: Replace references to dev_private with helper function 2021-09-23 09:40:20 +02:00
cdv_device.c drm/gma500: Make use of the drm connector iterator 2022-03-23 11:20:22 +01:00
cdv_device.h
cdv_intel_crt.c drm/gma500: Free the correct connector allocation 2022-03-23 11:20:45 +01:00
cdv_intel_display.c drm/gma500: Make use of the drm connector iterator 2022-03-23 11:20:22 +01:00
cdv_intel_dp.c drm/gma500: Free the correct connector allocation 2022-03-23 11:20:45 +01:00
cdv_intel_hdmi.c drm/gma500: Free the correct connector allocation 2022-03-23 11:20:45 +01:00
cdv_intel_lvds.c drm/gma500: Free the correct connector allocation 2022-03-23 11:20:45 +01:00
framebuffer.c drm/gma500: Make use of the drm connector iterator 2022-03-23 11:20:22 +01:00
framebuffer.h
gem.c drm/gma500: Move GEM memory management functions to gem.c 2022-03-16 17:42:23 +01:00
gem.h drm/gma500: Move GEM memory management functions to gem.c 2022-03-16 17:42:23 +01:00
gma_device.c drm/gma500: Replace references to dev_private with helper function 2021-09-23 09:40:20 +02:00
gma_device.h
gma_display.c drm/gma500: Add crtc prefix to vblank functions 2022-03-23 11:21:16 +01:00
gma_display.h drm/gma500: Move gma_intel_crtc_funcs into gma_display.c 2022-03-17 15:49:10 +01:00
gtt.c drm/gma500: Move GTT memory-range setup into helper 2022-03-16 17:42:24 +01:00
gtt.h drm/gma500: Move GEM memory management functions to gem.c 2022-03-16 17:42:23 +01:00
intel_bios.c drm/dp: Move public DisplayPort headers into dp/ 2022-01-17 11:25:44 +01:00
intel_bios.h
intel_gmbus.c drm/gma500: Embed struct drm_device in struct drm_psb_private 2021-09-23 09:40:39 +02:00
intel_i2c.c
Kconfig
Makefile
mid_bios.c drm/gma500: Embed struct drm_device in struct drm_psb_private 2021-09-23 09:40:39 +02:00
mid_bios.h
mmu.c drm/gma: Remove calls to kmap() 2022-01-24 17:02:43 +01:00
mmu.h
oaktrail.h
oaktrail_crtc.c drm/gma500: Make use of the drm connector iterator 2022-03-23 11:20:22 +01:00
oaktrail_device.c drm/gma500: Don't store crtc_funcs in psb_ops 2022-03-17 15:49:16 +01:00
oaktrail_hdmi.c drm/gma500: gma500 don't register non-hotpluggable connectors 2022-03-23 11:20:36 +01:00
oaktrail_hdmi_i2c.c
oaktrail_lvds.c drm/gma500: gma500 don't register non-hotpluggable connectors 2022-03-23 11:20:36 +01:00
oaktrail_lvds_i2c.c drm/gma500: Replace references to dev_private with helper function 2021-09-23 09:40:20 +02:00
opregion.c drm/gma500: Cosmetic cleanup of irq code 2022-03-17 15:49:20 +01:00
opregion.h
power.c drm/gma500: Cosmetic cleanup of irq code 2022-03-17 15:49:20 +01:00
power.h
psb_device.c drm/gma500: Make use of the drm connector iterator 2022-03-23 11:20:22 +01:00
psb_device.h
psb_drv.c drm/gma500: fix a potential repeat execution in psb_driver_load 2022-04-20 09:11:01 +02:00
psb_drv.h drm/gma500: Cosmetic cleanup of irq code 2022-03-17 15:49:20 +01:00
psb_intel_display.c drm/gma500: fix a missing break in psb_intel_crtc_mode_set 2022-04-06 09:38:11 +02:00
psb_intel_drv.h drm/gma500: Rename struct gtt_range to struct psb_gem_object 2021-10-19 10:38:54 +02:00
psb_intel_lvds.c drm/gma500: Free the correct connector allocation 2022-03-23 11:20:45 +01:00
psb_intel_modes.c
psb_intel_reg.h
psb_intel_sdvo.c drm/gma500: Free the correct connector allocation 2022-03-23 11:20:45 +01:00
psb_intel_sdvo_regs.h
psb_irq.c drm/gma500: Add crtc prefix to vblank functions 2022-03-23 11:21:16 +01:00
psb_irq.h drm/gma500: Add crtc prefix to vblank functions 2022-03-23 11:21:16 +01:00
psb_lid.c drm/gma500: Embed struct drm_device in struct drm_psb_private 2021-09-23 09:40:39 +02:00
psb_reg.h