linux_dsm_epyc7002/drivers/media/pci/cx25821
Jia-Ju Bai 65155a9bbc media: pci: cx25821: Replace mdelay() with msleep()
cx25821_gpio_init(), cx25821_initialize() and cx25821_registers_init()
are never called in atomic context.
They call mdelay() to busily wait, which is not necessary.
mdelay() can be replaced with msleep().

This is found by a static analysis tool named DCNS written by myself.

Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-07-27 08:14:30 -04:00
..
cx25821-alsa.c treewide: Use array_size() in vzalloc() 2018-06-12 16:19:22 -07:00
cx25821-audio.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cx25821-biffuncs.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cx25821-cards.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cx25821-core.c media: pci: cx25821: Replace mdelay() with msleep() 2018-07-27 08:14:30 -04:00
cx25821-gpio.c media: pci: cx25821: Replace mdelay() with msleep() 2018-07-27 08:14:30 -04:00
cx25821-i2c.c media: pci: make i2c_client const 2017-09-23 08:28:03 -04:00
cx25821-medusa-defines.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cx25821-medusa-reg.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cx25821-medusa-video.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cx25821-medusa-video.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cx25821-reg.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cx25821-sram.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cx25821-video.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cx25821-video.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
cx25821.h media: cx25821: remove cx25821-audio-upstream.c and cx25821-video-upstream.c 2018-06-28 07:50:28 -04:00
Kconfig [media] cx25821: convert to vb2 2014-12-23 10:17:47 -02:00
Makefile media: don't include drivers/media/i2c at cflags 2017-12-28 14:14:09 -05:00