linux/drivers/video/omap2
Archit Taneja f3c77d6332 OMAP: DSS2: Replace strncmp() with sysfs_streq() in overlay_manager_store()
The function overlay_manager_store currently fails if the sysfs input is a
prefix string of an existing overlay manager name. This occurs because strncmp
compares the two strings only till the length of the input sysfs string. So a
sysfs input "lcd" will match manager name "lcd2" which is incorrect behavior.

The use of sysfs_streq here will prevent this false positive match to occur.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
2010-08-05 16:52:18 +03:00
..
displays OMAP: DSS2: TDO35S: fix video signaling 2010-08-05 16:52:17 +03:00
dss OMAP: DSS2: Replace strncmp() with sysfs_streq() in overlay_manager_store() 2010-08-05 16:52:18 +03:00
omapfb OMAP: DSS2: OMAPFB: Fix invalid bpp for PAL and NTSC modes 2010-08-05 16:52:16 +03:00
Kconfig OMAP: DSS2: Add generic and Sharp panel drivers 2009-12-09 18:19:42 +02:00
Makefile OMAP: DSS2: Add generic and Sharp panel drivers 2009-12-09 18:19:42 +02:00
vram.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
vrfb.c OMAP: Add support for VRFB rotation engine 2009-12-09 12:04:33 +02:00