]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ALSA: bebob: sizeof() vs ARRAY_SIZE() typo
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 28 May 2014 16:43:30 +0000 (19:43 +0300)
committerTakashi Iwai <tiwai@suse.de>
Sun, 1 Jun 2014 16:16:04 +0000 (18:16 +0200)
commit33a5f989de41622ae691b12f008390309b59ad74
tree0475b9d045c9695584c1c093907cb74debba6f48
parent14577c25169beb8676577490bf2f0bd539d5e999
ALSA: bebob: sizeof() vs ARRAY_SIZE() typo

ARRAY_SIZE() was intended here instead of sizeof().  The
"bridgeco_freq_table" array holds integers so the original condition is
never true.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewd-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Tested-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/bebob/bebob_stream.c