···985985 struct snd_ump_endpoint *ump = substream->rmidi->private_data;986986 int dir = substream->stream;987987 int group = ump->legacy_mapping[substream->number];988988- int err;988988+ int err = 0;989989990990 mutex_lock(&ump->open_mutex);991991 if (ump->legacy_substreams[dir][group]) {···10091009 spin_unlock_irq(&ump->legacy_locks[dir]);10101010 unlock:10111011 mutex_unlock(&ump->open_mutex);10121012- return 0;10121012+ return err;10131013}1014101410151015static int snd_ump_legacy_close(struct snd_rawmidi_substream *substream)
+1-1
sound/firewire/amdtp-stream.c
···955955 // to the reason.956956 unsigned int safe_cycle = increment_ohci_cycle_count(next_cycle,957957 IR_JUMBO_PAYLOAD_MAX_SKIP_CYCLES);958958- lost = (compare_ohci_cycle_count(safe_cycle, cycle) > 0);958958+ lost = (compare_ohci_cycle_count(safe_cycle, cycle) < 0);959959 }960960 if (lost) {961961 dev_err(&s->unit->device, "Detect discontinuity of cycle: %d %d\n",