diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-03 16:25:19 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-03 16:25:19 +0300 |
commit | 9471f09f98982fcbf6ad0e3411af405c1d5d4588 (patch) | |
tree | 445d8495232cce5f1c60ae99010bc2869ee60402 | |
parent | 9892238b5ecfef471cd6a203d3f9865afdebafb3 (diff) | |
download | mediapointer-dvb-s2-9471f09f98982fcbf6ad0e3411af405c1d5d4588.tar.gz mediapointer-dvb-s2-9471f09f98982fcbf6ad0e3411af405c1d5d4588.tar.bz2 |
tvaudio: remove bogus check
From: Vitaly Wool <vital@embeddedalley.com>
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>
-rw-r--r-- | linux/drivers/media/video/tvaudio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/tvaudio.c b/linux/drivers/media/video/tvaudio.c index 755418a31..d630dca83 100644 --- a/linux/drivers/media/video/tvaudio.c +++ b/linux/drivers/media/video/tvaudio.c @@ -57,7 +57,7 @@ MODULE_LICENSE("GPL"); /* ---------------------------------------------------------------------- */ /* our structs */ -#define MAXREGS 64 +#define MAXREGS 256 struct CHIPSTATE; typedef int (*getvalue)(int); |