Merge "MIDI: don't create two of the same device" into tm-dev