ALSA: bebob: change type of substream counter from atomic_t to unsigned int
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 20 Feb 2016 07:18:58 +0000 (16:18 +0900)
committerTakashi Iwai <tiwai@suse.de>
Sat, 20 Feb 2016 14:45:38 +0000 (15:45 +0100)
commit4fd6c6c7295a50aa9390a3131623456e0c05d8f9
tree250b8c6b5018aa221799cb30507fbf9b0b0dc872
parent2a71e701660d7aa9ce1a740588dbf13b975deb10
ALSA: bebob: 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/bebob/bebob.h
sound/firewire/bebob/bebob_midi.c
sound/firewire/bebob/bebob_pcm.c
sound/firewire/bebob/bebob_stream.c