Commit 4c6c390e authored by Vitaly Wool's avatar Vitaly Wool Committed by Mauro Carvalho Chehab

V4L/DVB (10832): tvaudio: Avoid breakage with tda9874a

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: default avatarVitaly Wool <vital@embeddedalley.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent d2c45230
...@@ -54,7 +54,7 @@ MODULE_LICENSE("GPL"); ...@@ -54,7 +54,7 @@ MODULE_LICENSE("GPL");
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */
/* our structs */ /* our structs */
#define MAXREGS 64 #define MAXREGS 256
struct CHIPSTATE; struct CHIPSTATE;
typedef int (*getvalue)(int); typedef int (*getvalue)(int);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment