|
@@ -1277,6 +1277,7 @@ static void snd_timer_user_tinterrupt(struct snd_timer_instance *timeri,
|
|
|
struct timespec tstamp;
|
|
|
int prev, append = 0;
|
|
|
|
|
|
+ memset(&r1, 0, sizeof(r1));
|
|
|
memset(&tstamp, 0, sizeof(tstamp));
|
|
|
spin_lock(&tu->qlock);
|
|
|
if ((tu->filter & ((1 << SNDRV_TIMER_EVENT_RESOLUTION) |
|
|
@@ -1292,7 +1293,6 @@ static void snd_timer_user_tinterrupt(struct snd_timer_instance *timeri,
|
|
|
}
|
|
|
if ((tu->filter & (1 << SNDRV_TIMER_EVENT_RESOLUTION)) &&
|
|
|
tu->last_resolution != resolution) {
|
|
|
- memset(&r1, 0, sizeof(r1));
|
|
|
r1.event = SNDRV_TIMER_EVENT_RESOLUTION;
|
|
|
r1.tstamp = tstamp;
|
|
|
r1.val = resolution;
|