diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2015-11-14 16:54:51 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-11-14 17:53:46 +0100 |
commit | 4d2c50a0a9ca75fcd0fd57947fb7b394932e482a (patch) | |
tree | b2986756ef9c825252ec97cc1ffe06fb1c07abb2 /sound/firewire/fireworks/fireworks.h | |
parent | ea54a37442639cf884918de69db46caf693490f8 (diff) | |
download | linux-4d2c50a0a9ca75fcd0fd57947fb7b394932e482a.tar.bz2 |
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>
Diffstat (limited to 'sound/firewire/fireworks/fireworks.h')
-rw-r--r-- | sound/firewire/fireworks/fireworks.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/firewire/fireworks/fireworks.h b/sound/firewire/fireworks/fireworks.h index c7cb7deafe48..96c4e0c6a9bd 100644 --- a/sound/firewire/fireworks/fireworks.h +++ b/sound/firewire/fireworks/fireworks.h @@ -86,8 +86,8 @@ struct snd_efw { struct amdtp_stream rx_stream; struct cmp_connection out_conn; struct cmp_connection in_conn; - atomic_t capture_substreams; - atomic_t playback_substreams; + unsigned int capture_substreams; + unsigned int playback_substreams; /* hardware metering parameters */ unsigned int phys_out; |