Merge branch 'for-linus' into for-next
Resolved the merge conflict in HD-audio Tegra driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
@@ -159,8 +159,11 @@ int snd_dice_detect_extension_formats(struct snd_dice *dice)
|
||||
int j;
|
||||
|
||||
for (j = i + 1; j < 9; ++j) {
|
||||
if (pointers[i * 2] == pointers[j * 2])
|
||||
if (pointers[i * 2] == pointers[j * 2]) {
|
||||
// Fallback to limited functionality.
|
||||
err = -ENXIO;
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -157,14 +157,15 @@ static void read_status_messages(struct amdtp_stream *s,
|
||||
if ((before ^ after) & mask) {
|
||||
struct snd_firewire_tascam_change *entry =
|
||||
&tscm->queue[tscm->push_pos];
|
||||
unsigned long flag;
|
||||
|
||||
spin_lock_irq(&tscm->lock);
|
||||
spin_lock_irqsave(&tscm->lock, flag);
|
||||
entry->index = index;
|
||||
entry->before = before;
|
||||
entry->after = after;
|
||||
if (++tscm->push_pos >= SND_TSCM_QUEUE_COUNT)
|
||||
tscm->push_pos = 0;
|
||||
spin_unlock_irq(&tscm->lock);
|
||||
spin_unlock_irqrestore(&tscm->lock, flag);
|
||||
|
||||
wake_up(&tscm->hwdep_wait);
|
||||
}
|
||||
|
Reference in New Issue
Block a user