diff options
-rw-r--r-- | sound/firewire/bebob/bebob_stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/firewire/bebob/bebob_stream.c b/sound/firewire/bebob/bebob_stream.c index 514c7c9fa1cd..bc4f82776fda 100644 --- a/sound/firewire/bebob/bebob_stream.c +++ b/sound/firewire/bebob/bebob_stream.c | |||
@@ -749,7 +749,7 @@ parse_stream_formation(u8 *buf, unsigned int len, | |||
749 | if (buf[2] == bridgeco_freq_table[i]) | 749 | if (buf[2] == bridgeco_freq_table[i]) |
750 | break; | 750 | break; |
751 | } | 751 | } |
752 | if (i == sizeof(bridgeco_freq_table)) | 752 | if (i == ARRAY_SIZE(bridgeco_freq_table)) |
753 | return -ENOSYS; | 753 | return -ENOSYS; |
754 | 754 | ||
755 | /* Avoid double count by different entries for the same rate. */ | 755 | /* Avoid double count by different entries for the same rate. */ |