WSL2-Linux-Kernel/drivers/gpu/drm/bridge
Jia-Ju Bai 5f27314141 gpu: drm: bridge: adv7511: Replace mdelay with usleep_range in adv7511_probe
adv7511_probe() is never called in atomic context.
This function is only set as ".probe" in struct i2c_driver.

Despite never getting called from atomic context, adv7511_probe()
calls mdelay() to busily wait.
This is not necessary and can be replaced with usleep_range() to
avoid busy waiting.

This is found by a static analysis tool named DCNS written by myself.
And I also manually check it.

Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1523435622-4329-1-git-send-email-baijiaju1990@gmail.com
2018-05-04 11:30:51 +05:30
..
adv7511 gpu: drm: bridge: adv7511: Replace mdelay with usleep_range in adv7511_probe 2018-05-04 11:30:51 +05:30
analogix drm/bridge: analogix_dp: Split the platform-specific poweron in two parts 2018-04-24 08:34:49 +02:00
synopsys drm/bridge/synopsys: dsi: use adjusted_mode in mode_set 2018-04-26 08:24:26 +02:00
Kconfig drm/bridge: Add Cadence DSI driver 2018-04-23 19:12:18 +02:00
Makefile drm/bridge: Add Cadence DSI driver 2018-04-23 19:12:18 +02:00
analogix-anx78xx.c drm/bridge: analogix-anx78xx: Remove duplicate NULL check 2018-01-18 16:24:29 +02:00
analogix-anx78xx.h drm/bridge: Add Analogix anx78xx support 2016-05-12 11:32:14 +02:00
cdns-dsi.c drm/bridge: Add Cadence DSI driver 2018-04-23 19:12:18 +02:00
dumb-vga-dac.c drm/bridge: Add timing support to dumb VGA DAC 2018-01-12 14:14:31 +05:30
lvds-encoder.c drm/bridge: Fix lvds-encoder since the panel_bridge rework. 2017-11-30 11:03:45 +05:30
megachips-stdpxxxx-ge-b850v3-fw.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
nxp-ptn3460.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
panel.c drm/bridge: make drm_panel_bridge_remove more robust 2017-10-10 11:32:35 +02:00
parade-ps8622.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
sii902x.c drm/bridge: sii902x: Retry status read after DDI I2C 2018-03-07 22:48:19 +01:00
sii9234.c drm/bridge: add Silicon Image SiI9234 driver 2017-10-06 14:28:22 +02:00
sil-sii8620.c drm/edid: Allow HDMI infoframe without VIC or S3D 2017-11-22 19:24:34 +02:00
sil-sii8620.h drm/bridge/sii8620: add HSIC initialization code 2017-02-02 15:15:30 +05:30
tc358767.c drm/bridge: tc358767: fix mode_valid's return type 2018-04-25 09:37:59 +02:00
thc63lvd1024.c drm: bridge: Add thc63lvd1024 LVDS decoder driver 2018-04-20 11:08:24 +02:00
ti-tfp410.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00