Merge branch 'for-linus' into for-next
Back-merge of UAC3 fixes for applying further enhancements. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
@@ -773,8 +773,6 @@ static void amdtp_stream_first_callback(struct fw_iso_context *context,
|
||||
u32 cycle;
|
||||
unsigned int packets;
|
||||
|
||||
s->max_payload_length = amdtp_stream_get_max_payload(s);
|
||||
|
||||
/*
|
||||
* For in-stream, first packet has come.
|
||||
* For out-stream, prepared to transmit first packet
|
||||
@@ -879,6 +877,9 @@ int amdtp_stream_start(struct amdtp_stream *s, int channel, int speed)
|
||||
|
||||
amdtp_stream_update(s);
|
||||
|
||||
if (s->direction == AMDTP_IN_STREAM)
|
||||
s->max_payload_length = amdtp_stream_get_max_payload(s);
|
||||
|
||||
if (s->flags & CIP_NO_HEADER)
|
||||
s->tag = TAG_NO_CIP_HEADER;
|
||||
else
|
||||
|
@@ -519,7 +519,7 @@ int snd_dice_stream_init_duplex(struct snd_dice *dice)
|
||||
err = init_stream(dice, AMDTP_IN_STREAM, i);
|
||||
if (err < 0) {
|
||||
for (; i >= 0; i--)
|
||||
destroy_stream(dice, AMDTP_OUT_STREAM, i);
|
||||
destroy_stream(dice, AMDTP_IN_STREAM, i);
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
|
Fai riferimento in un nuovo problema
Block a user