Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media: usb: em28xx: Replace mdelay() with msleep() in em28xx_pre_card…
…_setup() em28xx_pre_card_setup() is never called in atomic context. It calls 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 <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
- Loading branch information