]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit80c92c484c496c2ced6900e55aa8b6c24309fe00
treeb2986756ef9c825252ec97cc1ffe06fb1c07abb2
parent6890d868fc4c9388a97eba2947ba9b695f70d5a5
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