]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: fireworks/bebob: Use the same type of variables as function parameters
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 27 May 2014 15:14:41 +0000 (00:14 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 27 May 2014 15:35:22 +0000 (17:35 +0200)
commit79d2b53e35fe6f88a10ee274fee6de5179c20949
tree2e79ed3c5b28d60a962e7b552883fb590fc2718e
parentd5757e660afa0834cbfa644618e3f229e9502d7b
ALSA: fireworks/bebob: Use the same type of variables as function parameters

The second argument of snd_efw_command_get_sampling_rate() means sampling
rate and its type is 'unsigned int'. But 'int' variable is passed as parameter.
It's better to apply the same type for the variable as its argument.

Similally, the type of variable for snd_efw_command_get_clock_source() and
avc_bridgeco_get_plug_type() should be the same type as each argument.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/bebob/bebob_stream.c
sound/firewire/fireworks/fireworks_pcm.c