diff for duplicates of <4EF15F9C.9030807@samsung.com> diff --git a/a/1.txt b/N1/1.txt index deda42b..5ebef35 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -90,9 +90,9 @@ index 0000000..bcd2674 +#define MIN_BRIGHTNESS (0) +#define MAX_BRIGHTNESS (24) + -+#define POWER_IS_ON(pwr) ((pwr) = FB_BLANK_UNBLANK) -+#define POWER_IS_OFF(pwr) ((pwr) = FB_BLANK_POWERDOWN) -+#define POWER_IS_NRM(pwr) ((pwr) = FB_BLANK_NORMAL) ++#define POWER_IS_ON(pwr) ((pwr) == FB_BLANK_UNBLANK) ++#define POWER_IS_OFF(pwr) ((pwr) == FB_BLANK_POWERDOWN) ++#define POWER_IS_NRM(pwr) ((pwr) == FB_BLANK_NORMAL) + +#define lcd_to_master(a) (a->dsim_dev->master) +#define lcd_to_master_ops(a) ((lcd_to_master(a))->master_ops) @@ -602,8 +602,8 @@ index 0000000..bcd2674 + }; + + if (lcd->acl_enable) { -+ if (lcd->cur_acl = 0) { -+ if (lcd->gamma = 0 || lcd->gamma = 1) { ++ if (lcd->cur_acl == 0) { ++ if (lcd->gamma == 0 || lcd->gamma == 1) { + s6e8ax0_acl_off(lcd); + dev_dbg(&lcd->ld->dev, + "cur_acl=%d\n", lcd->cur_acl); @@ -721,7 +721,7 @@ index 0000000..bcd2674 + return -EINVAL; + } + -+ if ((power = FB_BLANK_UNBLANK) && ops->set_blank_mode) { ++ if ((power == FB_BLANK_UNBLANK) && ops->set_blank_mode) { + /* LCD power on */ + if ((POWER_IS_ON(power) && POWER_IS_OFF(lcd->power)) + || (POWER_IS_ON(power) && POWER_IS_NRM(lcd->power))) { @@ -729,7 +729,7 @@ index 0000000..bcd2674 + if (!ret && lcd->power != power) + lcd->power = power; + } -+ } else if ((power = FB_BLANK_POWERDOWN) && ops->set_early_blank_mode) { ++ } else if ((power == FB_BLANK_POWERDOWN) && ops->set_early_blank_mode) { + /* LCD power off */ + if ((POWER_IS_OFF(power) && POWER_IS_ON(lcd->power)) || + (POWER_IS_ON(lcd->power) && POWER_IS_NRM(power))) { @@ -860,13 +860,13 @@ index 0000000..bcd2674 + lcd->bd->props.brightness = MAX_BRIGHTNESS; + + s6e8ax0_read_id(lcd, mtp_id); -+ if (mtp_id[0] = 0x00) ++ if (mtp_id[0] == 0x00) + dev_err(lcd->dev, "read id failed\n"); + + dev_info(lcd->dev, "Read ID : %x, %x, %x\n", + mtp_id[0], mtp_id[1], mtp_id[2]); + -+ if (mtp_id[2] = 0x33) ++ if (mtp_id[2] == 0x33) + dev_info(lcd->dev, + "ID-3 is 0xff does not support dynamic elvss\n"); + else diff --git a/a/content_digest b/N1/content_digest index ecef6c1..4343a8b 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ - "From\0Donghwa Lee <dh09.lee@samsung.com>\0" - "Subject\0[PATCH v5 2/2] video: backlight: support s6e8ax0 panel driver based on\0" - "Date\0Wed, 21 Dec 2011 04:25:00 +0000\0" + "From\0dh09.lee@samsung.com (Donghwa Lee)\0" + "Subject\0[PATCH v5 2/2] video: backlight: support s6e8ax0 panel driver based on MIPI DSI\0" + "Date\0Wed, 21 Dec 2011 13:25:00 +0900\0" "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" @@ -96,9 +96,9 @@ "+#define MIN_BRIGHTNESS\t\t(0)\n" "+#define MAX_BRIGHTNESS\t\t(24)\n" "+\n" - "+#define POWER_IS_ON(pwr)\t((pwr) = FB_BLANK_UNBLANK)\n" - "+#define POWER_IS_OFF(pwr)\t((pwr) = FB_BLANK_POWERDOWN)\n" - "+#define POWER_IS_NRM(pwr)\t((pwr) = FB_BLANK_NORMAL)\n" + "+#define POWER_IS_ON(pwr)\t((pwr) == FB_BLANK_UNBLANK)\n" + "+#define POWER_IS_OFF(pwr)\t((pwr) == FB_BLANK_POWERDOWN)\n" + "+#define POWER_IS_NRM(pwr)\t((pwr) == FB_BLANK_NORMAL)\n" "+\n" "+#define lcd_to_master(a)\t(a->dsim_dev->master)\n" "+#define lcd_to_master_ops(a)\t((lcd_to_master(a))->master_ops)\n" @@ -608,8 +608,8 @@ "+\t};\n" "+\n" "+\tif (lcd->acl_enable) {\n" - "+\t\tif (lcd->cur_acl = 0) {\n" - "+\t\t\tif (lcd->gamma = 0 || lcd->gamma = 1) {\n" + "+\t\tif (lcd->cur_acl == 0) {\n" + "+\t\t\tif (lcd->gamma == 0 || lcd->gamma == 1) {\n" "+\t\t\t\ts6e8ax0_acl_off(lcd);\n" "+\t\t\t\tdev_dbg(&lcd->ld->dev,\n" "+\t\t\t\t\t\"cur_acl=%d\\n\", lcd->cur_acl);\n" @@ -727,7 +727,7 @@ "+\t\treturn -EINVAL;\n" "+\t}\n" "+\n" - "+\tif ((power = FB_BLANK_UNBLANK) && ops->set_blank_mode) {\n" + "+\tif ((power == FB_BLANK_UNBLANK) && ops->set_blank_mode) {\n" "+\t\t/* LCD power on */\n" "+\t\tif ((POWER_IS_ON(power) && POWER_IS_OFF(lcd->power))\n" "+\t\t\t|| (POWER_IS_ON(power) && POWER_IS_NRM(lcd->power))) {\n" @@ -735,7 +735,7 @@ "+\t\t\tif (!ret && lcd->power != power)\n" "+\t\t\t\tlcd->power = power;\n" "+\t\t}\n" - "+\t} else if ((power = FB_BLANK_POWERDOWN) && ops->set_early_blank_mode) {\n" + "+\t} else if ((power == FB_BLANK_POWERDOWN) && ops->set_early_blank_mode) {\n" "+\t\t/* LCD power off */\n" "+\t\tif ((POWER_IS_OFF(power) && POWER_IS_ON(lcd->power)) ||\n" "+\t\t(POWER_IS_ON(lcd->power) && POWER_IS_NRM(power))) {\n" @@ -866,13 +866,13 @@ "+\tlcd->bd->props.brightness = MAX_BRIGHTNESS;\n" "+\n" "+\ts6e8ax0_read_id(lcd, mtp_id);\n" - "+\tif (mtp_id[0] = 0x00)\n" + "+\tif (mtp_id[0] == 0x00)\n" "+\t\tdev_err(lcd->dev, \"read id failed\\n\");\n" "+\n" "+\tdev_info(lcd->dev, \"Read ID : %x, %x, %x\\n\",\n" "+\t\t\tmtp_id[0], mtp_id[1], mtp_id[2]);\n" "+\n" - "+\tif (mtp_id[2] = 0x33)\n" + "+\tif (mtp_id[2] == 0x33)\n" "+\t\tdev_info(lcd->dev,\n" "+\t\t\t\"ID-3 is 0xff does not support dynamic elvss\\n\");\n" "+\telse\n" @@ -994,4 +994,4 @@ "-- \n" 1.7.4.1 -77cb30922ff369244b16619f28279a420a03ff93853dd64034c377b2e1493dd5 +18c22fd1e41fa7c5a662fc3fd79d7c3b37744fa8a58dc37f8f9a71cbf9f9af1f
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.