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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Saturday, March 14, 2009 - 12:59 pm

Gitweb:     http://git.kernel.org/linus/4c6c390eb8ba0c569279266a98c604508c695ef8
Commit:     4c6c390eb8ba0c569279266a98c604508c695ef8
Parent:     d2c452306ab402d7a3572bc3bf8e575796529bf8
Author:     Vitaly Wool <vital@embeddedalley.com>
AuthorDate: Thu Mar 5 13:03:32 2009 -0300
Committer:  Mauro Carvalho Chehab <mchehab@redhat.com>
CommitDate: Thu Mar 5 20:33:37 2009 -0300

    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>
---
 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 5aeccb3..076ed5b 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);
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
V4L/DVB (10832): tvaudio: Avoid breakage with tda9874a, Linux Kernel Mailing ..., (Sat Mar 14, 12:59 pm)