WSL2-Linux-Kernel/drivers/video/omap2/dss
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
..
Kconfig OMAP: DSS2: Add Kconfig option for DPI display type 2010-05-18 14:14:29 +03:00
Makefile OMAP: DSS2: Add Kconfig option for DPI display type 2010-05-18 14:14:29 +03:00
core.c OMAP: DSS2: Fix omap_dss_probe() error path 2010-05-18 15:06:09 +03:00
dispc.c OMAP: DSS2: DSI: use BTA to end the frame transfer 2010-08-05 16:52:02 +03:00
display.c OMAP: DSS2: Remove extra return statement 2010-08-05 16:52:11 +03:00
dpi.c OMAP: DSS2: move timing functions 2010-02-24 14:31:28 +02:00
dsi.c OMAP: DSS2: Fix error path in omap_dsi_update() 2010-08-05 16:52:18 +03:00
dss.c OMAP: DSS2: DSI: Wait for DSI PLL clocks to be active before selecting them 2010-08-05 16:51:49 +03:00
dss.h OMAP: DSS2: change manual update scaling setup 2010-08-05 16:52:03 +03:00
manager.c OMAP: DSS2: adjust YUV overlay width to be even 2010-08-05 16:52:11 +03:00
overlay.c OMAP: DSS2: Replace strncmp() with sysfs_streq() in overlay_manager_store() 2010-08-05 16:52:18 +03:00
rfbi.c OMAP: DSS2: change manual update scaling setup 2010-08-05 16:52:03 +03:00
sdi.c OMAP: DSS2: Use vdds_sdi regulator supply in SDI 2010-05-18 14:14:29 +03:00
venc.c OMAP: DSS2: VENC: don't call platform_enable/disable() twice 2010-05-18 14:14:30 +03:00