linux_dsm_epyc7002/drivers/gpu/drm/bridge/adv7511
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_audio.c drm/bridge: adv7511: Constify HDMI CODEC platform data 2017-09-16 15:11:04 +05:30
adv7511_cec.c drm/bridge: adv7511/33: Fix adv7511_cec_init() failure handling 2017-11-30 10:37:11 +05:30
adv7511_drv.c gpu: drm: bridge: adv7511: Replace mdelay with usleep_range in adv7511_probe 2018-05-04 11:30:51 +05:30
adv7511.h drm: adv7511: Add support for i2c_new_secondary_device 2018-04-25 11:18:59 +05:30
adv7533.c drm: adv7511/33: add HDMI CEC support 2017-10-09 16:17:02 +05:30
Kconfig drm/bridge: adv7511: fix spelling of driver name in Kconfig 2018-05-04 11:29:03 +05:30
Makefile drm: adv7511/33: add HDMI CEC support 2017-10-09 16:17:02 +05:30