Date:2012-05-16 15:23:11 (8 years 5 months ago)
Author:Maarten ter Huurne
Commit:f20d896c97276a34c1b255bd4454d6564424830a
Message:MIPS: JZ4740: SLCD: Fixed sysfs tvout value parsing.

Files: drivers/video/jz4740_slcd_fb.c (1 diff)

Change Details

drivers/video/jz4740_slcd_fb.c
709709    struct jzfb *jzfb = dev_get_drvdata(dev);
710710
711711    for (i = 0; i <= FB_A320TV_LAST; i++) {
712        if (!strncmp(jzfb_tv_out_norm[i], buf, n-1)) {
712        if (sysfs_streq(jzfb_tv_out_norm[i], buf)) {
713713            jzfb_tv_out(jzfb, i);
714714            return n;
715715        }

Archive Download the corresponding diff file



interactive