summaryrefslogtreecommitdiffstats
path: root/sound/firewire/fireworks/fireworks_stream.c
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2014-05-28 00:14:40 +0900
committerTakashi Iwai <tiwai@suse.de>2014-05-27 17:35:13 +0200
commit4a286d55285fa865df3810f632bd5747dc6e8475 (patch)
tree7efe9ba1ce9aa4e22e21f795201ba6d8154ce7ab /sound/firewire/fireworks/fireworks_stream.c
parent93219d0649703f4106bbc44b9bb71771475ee254 (diff)
downloadlinux-stable-4a286d55285fa865df3810f632bd5747dc6e8475.tar.gz
linux-stable-4a286d55285fa865df3810f632bd5747dc6e8475.tar.bz2
linux-stable-4a286d55285fa865df3810f632bd5747dc6e8475.zip
ALSA: fireworks/bebob: Change type of argument for sampling rate
Originally, I intent to this argument given with 'struct snd_pcm_runtime.rate' or params_rate(). They return value of 'unsigned int'. So 'unsigned int' is better for the type of this argument. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/fireworks/fireworks_stream.c')
-rw-r--r--sound/firewire/fireworks/fireworks_stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/firewire/fireworks/fireworks_stream.c b/sound/firewire/fireworks/fireworks_stream.c
index eaab8f6bc8b6..541569022a7c 100644
--- a/sound/firewire/fireworks/fireworks_stream.c
+++ b/sound/firewire/fireworks/fireworks_stream.c
@@ -195,7 +195,7 @@ end:
return err;
}
-int snd_efw_stream_start_duplex(struct snd_efw *efw, int rate)
+int snd_efw_stream_start_duplex(struct snd_efw *efw, unsigned int rate)
{
struct amdtp_stream *master, *slave;
atomic_t *slave_substreams;