Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156753
b: refs/heads/master
c: 225aeb1
h: refs/heads/master
i:
  156751: 9cad12a
v: v3
  • Loading branch information
Andy Walls authored and Mauro Carvalho Chehab committed Aug 13, 2009
1 parent a41845e commit 3d2a06a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ed18d0c87ee0ab6e0985d83c19cd135b1bd54998
refs/heads/master: 225aeb1c5863bc92c6bb1f921e9a6cf4d15dbb2a
3 changes: 2 additions & 1 deletion trunk/drivers/media/video/cx18/cx18-controls.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
* 02111-1307 USA
*/
#include <linux/kernel.h>

#include "cx18-driver.h"
#include "cx18-cards.h"
Expand Down Expand Up @@ -317,7 +318,7 @@ int cx18_s_ext_ctrls(struct file *file, void *fh, struct v4l2_ext_controls *c)
idx = p.audio_properties & 0x03;
/* The audio clock of the digitizer must match the codec sample
rate otherwise you get some very strange effects. */
if (idx < sizeof(freqs))
if (idx < ARRAY_SIZE(freqs))
cx18_call_all(cx, audio, s_clock_freq, freqs[idx]);
return err;
}
Expand Down

0 comments on commit 3d2a06a

Please sign in to comment.