]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (10832): tvaudio: Avoid breakage with tda9874a
authorVitaly Wool <vital@embeddedalley.com>
Thu, 5 Mar 2009 16:03:32 +0000 (13:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 5 Mar 2009 23:33:37 +0000 (20:33 -0300)
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>
drivers/media/video/tvaudio.c

index 5aeccb301cea147370c89af12de35cc3306f4c9d..076ed5bf48b1d88e24a6f4f7d321f4aef164070e 100644 (file)
@@ -54,7 +54,7 @@ MODULE_LICENSE("GPL");
 /* ---------------------------------------------------------------------- */
 /* our structs                                                            */
 
-#define MAXREGS 64
+#define MAXREGS 256
 
 struct CHIPSTATE;
 typedef int  (*getvalue)(int);