summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHal Feng <hal.feng@starfivetech.com>2024-08-01 10:12:10 +0300
committerHal Feng <hal.feng@starfivetech.com>2024-08-27 10:54:44 +0300
commitaa8c2d39037b1f65d2ccee672bcefb1f4674237e (patch)
treeba0793e5375bd42099be1899496156b510a04930
parent3d32977351fdca88bf5b5535dd3d2ffc445a8eae (diff)
downloadlinux-aa8c2d39037b1f65d2ccee672bcefb1f4674237e.tar.xz
ALSA: Drop 2s sleep before print ALSA device list
Drop the inadvisable long time sleep. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
-rw-r--r--sound/last.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/last.c b/sound/last.c
index 37d32e3ab713..f0bb98780e70 100644
--- a/sound/last.c
+++ b/sound/last.c
@@ -5,14 +5,12 @@
*/
#include <linux/init.h>
-#include <linux/delay.h>
#include <sound/core.h>
static int __init alsa_sound_last_init(void)
{
struct snd_card *card;
int idx, ok = 0;
- msleep(2000);
printk(KERN_INFO "ALSA device list:\n");
for (idx = 0; idx < SNDRV_CARDS; idx++) {