[PATCH 3.16 42/63] ALSA: rawmidi: Change resized buffers atomically