summaryrefslogtreecommitdiffstats
path: root/sound/firewire/fireworks/fireworks.h
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2015-11-14 16:54:51 +0900
committerTakashi Iwai <tiwai@suse.de>2015-11-14 17:53:46 +0100
commit4d2c50a0a9ca75fcd0fd57947fb7b394932e482a (patch)
treeb2986756ef9c825252ec97cc1ffe06fb1c07abb2 /sound/firewire/fireworks/fireworks.h
parentea54a37442639cf884918de69db46caf693490f8 (diff)
downloadop-kernel-dev-4d2c50a0a9ca75fcd0fd57947fb7b394932e482a.zip
op-kernel-dev-4d2c50a0a9ca75fcd0fd57947fb7b394932e482a.tar.gz
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/firewire/fireworks/fireworks.h b/sound/firewire/fireworks/fireworks.h
index c7cb7de..96c4e0c 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;
OpenPOWER on IntegriCloud