ALSA: fireworks: change type of substream counter from atomic_t to unsigned int
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 14 Nov 2015 07:54:51 +0000 (16:54 +0900)
committerTakashi Iwai <tiwai@suse.de>
Sat, 14 Nov 2015 16:53:46 +0000 (17:53 +0100)
commit4d2c50a0a9ca75fcd0fd57947fb7b394932e482a
treeb2986756ef9c825252ec97cc1ffe06fb1c07abb2
parentea54a37442639cf884918de69db46caf693490f8
ALSA: fireworks: change type of substream counter from atomic_t to unsigned int

The counter is incremented/decremented in critical section protected with
mutex. Therefore, no need to use atomic_t.

This commit changes the type to unsigned int.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/fireworks/fireworks.h
sound/firewire/fireworks/fireworks_midi.c
sound/firewire/fireworks/fireworks_pcm.c
sound/firewire/fireworks/fireworks_stream.c