commit | 08fd8325d94eeddfe49ef8191337e5f54553f6b0 | [log] [tgz] |
---|---|---|
author | Jia-Ju Bai <baijiaju1990@gmail.com> | Fri Jul 27 16:57:56 2018 +0800 |
committer | Takashi Iwai <tiwai@suse.de> | Fri Jul 27 11:48:50 2018 +0200 |
tree | cf3061c62b493b7c4f55021783a5cefe158f3138 | |
parent | df3f0347fd856272ca9fdbb6e691b7b512b7acb4 [diff] |
ALSA:: ctxfi: cthw20k1: Replace mdelay() with msleep() hw_pll_init(), hw_reset_dac() and hw_card_init() are never called in atomic context. They 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 <baijiaju1990@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>