From: Vitaly Wool Date: Thu, 5 Mar 2009 16:03:32 +0000 (-0300) Subject: V4L/DVB (10832): tvaudio: Avoid breakage with tda9874a X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4c6c390eb8ba0c569279266a98c604508c695ef8;p=openwrt%2Fstaging%2Fblogic.git 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: Vitaly Wool Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/tvaudio.c b/drivers/media/video/tvaudio.c index 5aeccb301cea..076ed5bf48b1 100644 --- a/drivers/media/video/tvaudio.c +++ b/drivers/media/video/tvaudio.c @@ -54,7 +54,7 @@ MODULE_LICENSE("GPL"); /* ---------------------------------------------------------------------- */ /* our structs */ -#define MAXREGS 64 +#define MAXREGS 256 struct CHIPSTATE; typedef int (*getvalue)(int);