We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 279eb50 commit 5003a65Copy full SHA for 5003a65
sound/core/timer.c
@@ -2139,14 +2139,14 @@ static int snd_utimer_create(struct snd_timer_uinfo *utimer_info,
2139
goto err_take_id;
2140
}
2141
2142
+ utimer->id = utimer_id;
2143
+
2144
utimer->name = kasprintf(GFP_KERNEL, "snd-utimer%d", utimer_id);
2145
if (!utimer->name) {
2146
err = -ENOMEM;
2147
goto err_get_name;
2148
2149
- utimer->id = utimer_id;
-
2150
tid.dev_sclass = SNDRV_TIMER_SCLASS_APPLICATION;
2151
tid.dev_class = SNDRV_TIMER_CLASS_GLOBAL;
2152
tid.card = -1;
0 commit comments