Re: [PATCH] omap2 dss: omap_display_init: Dont allow more than the maximum number of displays.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 10/06/13 10:57, Andreas Naumann wrote:
> Currently the maximum number of display is hardcoded in the array omapfb2_device. Made the number a #define and check it in init routine.
> 
> Signed-off-by: Andreas Naumann <anaumann@xxxxxxxxxxxxxx>
> ---
> Our board supports a lot of panels and we could probably solve this more effectively, but arrays shouldnt silently overflow when using more than 10 displays. Created the patch on 3.1 and tested it there. This one is rebased on todays linux-omap.git
>  arch/arm/mach-omap2/display.c       |  5 +++++
>  drivers/video/omap2/omapfb/omapfb.h | 10 +++++-----
>  include/video/omapdss.h             |  2 ++
>  3 files changed, 12 insertions(+), 5 deletions(-)

This is an omapfb change, so it should only change omapfb files, not
omapdss.

 Tomi


Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux