Skip to content

Commit

Permalink
V4L/DVB (10832): tvaudio: Avoid breakage with tda9874a
Browse files Browse the repository at this point in the history
The 'bytes' array is 64 bytes large but the easy standard programming
    (TDA9874A_ESP) has a number of 255, outside the shadow array size.

This patch increases the size of the shadow array in order to accomodate
this register.

Signed-off-by: Vitaly Wool <vital@embeddedalley.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Vitaly Wool authored and Mauro Carvalho Chehab committed Mar 5, 2009
1 parent d2c4523 commit 4c6c390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/tvaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ MODULE_LICENSE("GPL");
/* ---------------------------------------------------------------------- */
/* our structs */

#define MAXREGS 64
#define MAXREGS 256

struct CHIPSTATE;
typedef int (*getvalue)(int);
Expand Down

0 comments on commit 4c6c390

Please sign in to comment.