[media] OMAP_VOUT: Increase MAX_DISPLAYS to a larger value
authorArchit Taneja <archit@ti.com>
Wed, 28 Sep 2011 13:49:28 +0000 (10:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 7 Nov 2011 13:21:58 +0000 (11:21 -0200)
commitcfb128ed0768320c2d0e43cf781c8eaa622876b6
treeb2de58b5058a4e4bd32b6b8e513513fb929bc150
parent881a9640112f89fbe2ffdcec2b06ab163739595f
[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>
drivers/media/video/omap/omap_voutdef.h