]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit81071ec604ed9af199ecc3b182b00ab1cc8d5a26
tree250b8c6b5018aa221799cb30507fbf9b0b0dc872
parent0735b9918ae8d498e7d5b6cf3fbe9fb614e7cd56
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