diff options
author | Vitaly Wool <vital@embeddedalley.com> | 2009-03-05 17:03:32 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-06 00:33:37 +0100 |
commit | 4c6c390eb8ba0c569279266a98c604508c695ef8 (patch) | |
tree | c53761e57204cf5abe0854eb5b3ec19feeb3cef4 /drivers/media/video/tvaudio.c | |
parent | V4L/DVB (10789): m5602-s5k4aa: Split up the initial sensor probe in chunks. (diff) | |
download | linux-4c6c390eb8ba0c569279266a98c604508c695ef8.tar.xz linux-4c6c390eb8ba0c569279266a98c604508c695ef8.zip |
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 <vital@embeddedalley.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/tvaudio.c')
-rw-r--r-- | drivers/media/video/tvaudio.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |