diff options
author | Archit Taneja <archit@ti.com> | 2011-09-28 09:49:28 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-07 08:21:58 -0500 |
commit | cfb128ed0768320c2d0e43cf781c8eaa622876b6 (patch) | |
tree | b2de58b5058a4e4bd32b6b8e513513fb929bc150 | |
parent | 881a9640112f89fbe2ffdcec2b06ab163739595f (diff) |
[media] OMAP_VOUT: Increase MAX_DISPLAYS to a larger value
There is no limit to the number of displays that can registered with DSS2. The
current value of MAX_DISPLAYS is 3, set this to 10 so that the 'displays'
member of omap2video_device struct can store more omap_dss_device pointers.
This fixes a crash seen in omap_vout_probe when DSS2 registers for more than 3
displays.
Signed-off-by: Archit Taneja <archit@ti.com>
Acked-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/video/omap/omap_voutdef.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/omap/omap_voutdef.h b/drivers/media/video/omap/omap_voutdef.h index d793501cafcc..27a95d23b913 100644 --- a/drivers/media/video/omap/omap_voutdef.h +++ b/drivers/media/video/omap/omap_voutdef.h | |||
@@ -25,7 +25,7 @@ | |||
25 | #define MAC_VRFB_CTXS 4 | 25 | #define MAC_VRFB_CTXS 4 |
26 | #define MAX_VOUT_DEV 2 | 26 | #define MAX_VOUT_DEV 2 |
27 | #define MAX_OVLS 3 | 27 | #define MAX_OVLS 3 |
28 | #define MAX_DISPLAYS 3 | 28 | #define MAX_DISPLAYS 10 |
29 | #define MAX_MANAGERS 3 | 29 | #define MAX_MANAGERS 3 |
30 | 30 | ||
31 | #define QQVGA_WIDTH 160 | 31 | #define QQVGA_WIDTH 160 |