diff for duplicates of <1471460799-16015-1-git-send-email-olimpiu@arcticsand.com> diff --git a/a/1.txt b/N1/1.txt index 37d9da1..ece4169 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,7 +1,7 @@ This is the driver for the Arctic Sand Technologies Inc. ARCXCNN LED backlight IC family. -Signed-off-by: Olimpiu Dejeu <olimpiu@arcticsand.com> +Signed-off-by: Olimpiu Dejeu <olimpiu-eV7fy4qpoLhpLGFMi4vTTA@public.gmane.org> --- drivers/video/backlight/Kconfig | 7 + drivers/video/backlight/Makefile | 1 + @@ -108,7 +108,7 @@ index 0000000..40a6c48 +module_param_named(iledstr, s_iledstr, int, 0644); +MODULE_PARM_DESC(iledstr, "Initial LED String (when no plat data)"); + -+static int s_retries = 2; /* 1 = only one try */ ++static int s_retries = 2; /* 1 == only one try */ +module_param_named(retries, s_retries, int, 0644); +MODULE_PARM_DESC(retries, "I2C retries attempted"); + @@ -224,18 +224,18 @@ index 0000000..40a6c48 + brightness = 0; + + /* set brightness */ -+ if (lp->mode = PWM_BASED) ++ if (lp->mode == PWM_BASED) + arcxcnn_pwm_ctrl(lp, brightness, bl->props.max_brightness); -+ else if (lp->mode = REGISTER_BASED) ++ else if (lp->mode == REGISTER_BASED) + arcxcnn_set_brightness(lp, brightness); + + /* set power-on/off/save modes */ -+ if (bl->props.power = 0) { ++ if (bl->props.power == 0) { + /* take out of standby */ + arcxcnn_update_bit(lp, ARCXCNN_CMD, ARCXCNN_CMD_STDBY, 0); + } + else { -+ /* 1-3 = power save, 4 = off ++ /* 1-3 == power save, 4 = off + * place in low-power standby mode + */ + arcxcnn_update_bit(lp, ARCXCNN_CMD, ARCXCNN_CMD_STDBY, ARCXCNN_CMD_STDBY); @@ -301,7 +301,7 @@ index 0000000..40a6c48 + + if (ledstr != lp->pdata->ledstr) { + /* don't allow 0 for ledstr, use power to turn all off */ -+ if (ledstr = 0) ++ if (ledstr == 0) + return 0; + + lp->pdata->ledstr = ledstr & 0x3F; @@ -317,9 +317,9 @@ index 0000000..40a6c48 + struct arcxcnn *lp = dev_get_drvdata(dev); + char *strmode = NULL; + -+ if (lp->mode = PWM_BASED) ++ if (lp->mode == PWM_BASED) + strmode = "pwm based"; -+ else if (lp->mode = REGISTER_BASED) ++ else if (lp->mode == REGISTER_BASED) + strmode = "register based"; + + return scnprintf(buf, PAGE_SIZE, "%s\n", strmode); @@ -542,7 +542,7 @@ index 0000000..40a6c48 +module_i2c_driver(arcxcnn_driver); + +MODULE_LICENSE("GPL v2"); -+MODULE_AUTHOR("Brian Dodge <bdodge09@outlook.com>"); ++MODULE_AUTHOR("Brian Dodge <bdodge09-1ViLX0X+lBJBDgjK7y7TUQ@public.gmane.org>"); +MODULE_DESCRIPTION("ARCXCNN Backlight driver"); diff --git a/include/linux/i2c/arcxcnn.h b/include/linux/i2c/arcxcnn.h new file mode 100644 @@ -591,3 +591,7 @@ index 0000000..67e8214 +}; + +#endif +-- +To unsubscribe from this list: send the line "unsubscribe devicetree" in +the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org +More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N1/content_digest index efbfdea..a6f4084 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ - "From\0Olimpiu Dejeu <olimpiu@arcticsand.com>\0" + "From\0Olimpiu Dejeu <olimpiu-eV7fy4qpoLhpLGFMi4vTTA@public.gmane.org>\0" "Subject\0[PATCH 1/1] BACKLIGHT: Add Driver for ARCXCNN Chip\0" - "Date\0Wed, 17 Aug 2016 19:06:39 +0000\0" + "Date\0Wed, 17 Aug 2016 15:06:39 -0400\0" "To\0jg1.han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org\0" "Cc\0linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" linux-fbdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org @@ -11,7 +11,7 @@ "This is the driver for the Arctic Sand Technologies Inc. ARCXCNN LED\n" "backlight IC family.\n" "\n" - "Signed-off-by: Olimpiu Dejeu <olimpiu@arcticsand.com>\n" + "Signed-off-by: Olimpiu Dejeu <olimpiu-eV7fy4qpoLhpLGFMi4vTTA@public.gmane.org>\n" "---\n" " drivers/video/backlight/Kconfig | 7 +\n" " drivers/video/backlight/Makefile | 1 +\n" @@ -118,7 +118,7 @@ "+module_param_named(iledstr, s_iledstr, int, 0644);\n" "+MODULE_PARM_DESC(iledstr, \"Initial LED String (when no plat data)\");\n" "+\n" - "+static int s_retries = 2; /* 1 = only one try */\n" + "+static int s_retries = 2; /* 1 == only one try */\n" "+module_param_named(retries, s_retries, int, 0644);\n" "+MODULE_PARM_DESC(retries, \"I2C retries attempted\");\n" "+\n" @@ -234,18 +234,18 @@ "+\t\tbrightness = 0;\n" "+\n" "+\t/* set brightness */\n" - "+\tif (lp->mode = PWM_BASED)\n" + "+\tif (lp->mode == PWM_BASED)\n" "+\t\tarcxcnn_pwm_ctrl(lp, brightness, bl->props.max_brightness);\n" - "+\telse if (lp->mode = REGISTER_BASED)\n" + "+\telse if (lp->mode == REGISTER_BASED)\n" "+\t\tarcxcnn_set_brightness(lp, brightness);\n" "+\n" "+\t/* set power-on/off/save modes */\n" - "+\tif (bl->props.power = 0) {\n" + "+\tif (bl->props.power == 0) {\n" "+\t\t/* take out of standby */\n" "+\t\tarcxcnn_update_bit(lp, ARCXCNN_CMD, ARCXCNN_CMD_STDBY, 0);\n" "+\t}\n" "+\telse {\n" - "+\t\t/* 1-3 = power save, 4 = off\n" + "+\t\t/* 1-3 == power save, 4 = off\n" "+\t\t * place in low-power standby mode\n" "+\t\t */\n" "+\t\tarcxcnn_update_bit(lp, ARCXCNN_CMD, ARCXCNN_CMD_STDBY, ARCXCNN_CMD_STDBY);\n" @@ -311,7 +311,7 @@ "+\n" "+\tif (ledstr != lp->pdata->ledstr) {\n" "+\t\t/* don't allow 0 for ledstr, use power to turn all off */\n" - "+\t\tif (ledstr = 0)\n" + "+\t\tif (ledstr == 0)\n" "+\t\t\treturn 0;\n" "+\n" "+\t\tlp->pdata->ledstr = ledstr & 0x3F;\n" @@ -327,9 +327,9 @@ "+\tstruct arcxcnn *lp = dev_get_drvdata(dev);\n" "+\tchar *strmode = NULL;\n" "+\n" - "+\tif (lp->mode = PWM_BASED)\n" + "+\tif (lp->mode == PWM_BASED)\n" "+\t\tstrmode = \"pwm based\";\n" - "+\telse if (lp->mode = REGISTER_BASED)\n" + "+\telse if (lp->mode == REGISTER_BASED)\n" "+\t\tstrmode = \"register based\";\n" "+\n" "+\treturn scnprintf(buf, PAGE_SIZE, \"%s\\n\", strmode);\n" @@ -552,7 +552,7 @@ "+module_i2c_driver(arcxcnn_driver);\n" "+\n" "+MODULE_LICENSE(\"GPL v2\");\n" - "+MODULE_AUTHOR(\"Brian Dodge <bdodge09@outlook.com>\");\n" + "+MODULE_AUTHOR(\"Brian Dodge <bdodge09-1ViLX0X+lBJBDgjK7y7TUQ@public.gmane.org>\");\n" "+MODULE_DESCRIPTION(\"ARCXCNN Backlight driver\");\n" "diff --git a/include/linux/i2c/arcxcnn.h b/include/linux/i2c/arcxcnn.h\n" "new file mode 100644\n" @@ -600,6 +600,10 @@ "+\tu32 prog_entries;\n" "+};\n" "+\n" - +#endif + "+#endif\n" + "--\n" + "To unsubscribe from this list: send the line \"unsubscribe devicetree\" in\n" + "the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\n" + More majordomo info at http://vger.kernel.org/majordomo-info.html -d40b6080a957e8bb4aa68b0ea65c4ac661862b1dac29bd3911bf9f4e6d0b23b9 +e33d7a8636784ea5be93e582547af4546b145b1008936d9d081b52d8f2ee1520
diff --git a/a/1.txt b/N2/1.txt index 37d9da1..87baf1f 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -108,7 +108,7 @@ index 0000000..40a6c48 +module_param_named(iledstr, s_iledstr, int, 0644); +MODULE_PARM_DESC(iledstr, "Initial LED String (when no plat data)"); + -+static int s_retries = 2; /* 1 = only one try */ ++static int s_retries = 2; /* 1 == only one try */ +module_param_named(retries, s_retries, int, 0644); +MODULE_PARM_DESC(retries, "I2C retries attempted"); + @@ -224,18 +224,18 @@ index 0000000..40a6c48 + brightness = 0; + + /* set brightness */ -+ if (lp->mode = PWM_BASED) ++ if (lp->mode == PWM_BASED) + arcxcnn_pwm_ctrl(lp, brightness, bl->props.max_brightness); -+ else if (lp->mode = REGISTER_BASED) ++ else if (lp->mode == REGISTER_BASED) + arcxcnn_set_brightness(lp, brightness); + + /* set power-on/off/save modes */ -+ if (bl->props.power = 0) { ++ if (bl->props.power == 0) { + /* take out of standby */ + arcxcnn_update_bit(lp, ARCXCNN_CMD, ARCXCNN_CMD_STDBY, 0); + } + else { -+ /* 1-3 = power save, 4 = off ++ /* 1-3 == power save, 4 = off + * place in low-power standby mode + */ + arcxcnn_update_bit(lp, ARCXCNN_CMD, ARCXCNN_CMD_STDBY, ARCXCNN_CMD_STDBY); @@ -301,7 +301,7 @@ index 0000000..40a6c48 + + if (ledstr != lp->pdata->ledstr) { + /* don't allow 0 for ledstr, use power to turn all off */ -+ if (ledstr = 0) ++ if (ledstr == 0) + return 0; + + lp->pdata->ledstr = ledstr & 0x3F; @@ -317,9 +317,9 @@ index 0000000..40a6c48 + struct arcxcnn *lp = dev_get_drvdata(dev); + char *strmode = NULL; + -+ if (lp->mode = PWM_BASED) ++ if (lp->mode == PWM_BASED) + strmode = "pwm based"; -+ else if (lp->mode = REGISTER_BASED) ++ else if (lp->mode == REGISTER_BASED) + strmode = "register based"; + + return scnprintf(buf, PAGE_SIZE, "%s\n", strmode); diff --git a/a/content_digest b/N2/content_digest index efbfdea..f44ab41 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,11 +1,11 @@ "From\0Olimpiu Dejeu <olimpiu@arcticsand.com>\0" "Subject\0[PATCH 1/1] BACKLIGHT: Add Driver for ARCXCNN Chip\0" - "Date\0Wed, 17 Aug 2016 19:06:39 +0000\0" - "To\0jg1.han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org\0" - "Cc\0linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" - linux-fbdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - " Olimpiu Dejeu <olimpiu-eV7fy4qpoLhpLGFMi4vTTA@public.gmane.org>\0" + "Date\0Wed, 17 Aug 2016 15:06:39 -0400\0" + "To\0jg1.han@samsung.com\0" + "Cc\0linux-kernel@vger.kernel.org" + linux-fbdev@vger.kernel.org + devicetree@vger.kernel.org + " Olimpiu Dejeu <olimpiu@arcticsand.com>\0" "\00:1\0" "b\0" "This is the driver for the Arctic Sand Technologies Inc. ARCXCNN LED\n" @@ -118,7 +118,7 @@ "+module_param_named(iledstr, s_iledstr, int, 0644);\n" "+MODULE_PARM_DESC(iledstr, \"Initial LED String (when no plat data)\");\n" "+\n" - "+static int s_retries = 2; /* 1 = only one try */\n" + "+static int s_retries = 2; /* 1 == only one try */\n" "+module_param_named(retries, s_retries, int, 0644);\n" "+MODULE_PARM_DESC(retries, \"I2C retries attempted\");\n" "+\n" @@ -234,18 +234,18 @@ "+\t\tbrightness = 0;\n" "+\n" "+\t/* set brightness */\n" - "+\tif (lp->mode = PWM_BASED)\n" + "+\tif (lp->mode == PWM_BASED)\n" "+\t\tarcxcnn_pwm_ctrl(lp, brightness, bl->props.max_brightness);\n" - "+\telse if (lp->mode = REGISTER_BASED)\n" + "+\telse if (lp->mode == REGISTER_BASED)\n" "+\t\tarcxcnn_set_brightness(lp, brightness);\n" "+\n" "+\t/* set power-on/off/save modes */\n" - "+\tif (bl->props.power = 0) {\n" + "+\tif (bl->props.power == 0) {\n" "+\t\t/* take out of standby */\n" "+\t\tarcxcnn_update_bit(lp, ARCXCNN_CMD, ARCXCNN_CMD_STDBY, 0);\n" "+\t}\n" "+\telse {\n" - "+\t\t/* 1-3 = power save, 4 = off\n" + "+\t\t/* 1-3 == power save, 4 = off\n" "+\t\t * place in low-power standby mode\n" "+\t\t */\n" "+\t\tarcxcnn_update_bit(lp, ARCXCNN_CMD, ARCXCNN_CMD_STDBY, ARCXCNN_CMD_STDBY);\n" @@ -311,7 +311,7 @@ "+\n" "+\tif (ledstr != lp->pdata->ledstr) {\n" "+\t\t/* don't allow 0 for ledstr, use power to turn all off */\n" - "+\t\tif (ledstr = 0)\n" + "+\t\tif (ledstr == 0)\n" "+\t\t\treturn 0;\n" "+\n" "+\t\tlp->pdata->ledstr = ledstr & 0x3F;\n" @@ -327,9 +327,9 @@ "+\tstruct arcxcnn *lp = dev_get_drvdata(dev);\n" "+\tchar *strmode = NULL;\n" "+\n" - "+\tif (lp->mode = PWM_BASED)\n" + "+\tif (lp->mode == PWM_BASED)\n" "+\t\tstrmode = \"pwm based\";\n" - "+\telse if (lp->mode = REGISTER_BASED)\n" + "+\telse if (lp->mode == REGISTER_BASED)\n" "+\t\tstrmode = \"register based\";\n" "+\n" "+\treturn scnprintf(buf, PAGE_SIZE, \"%s\\n\", strmode);\n" @@ -602,4 +602,4 @@ "+\n" +#endif -d40b6080a957e8bb4aa68b0ea65c4ac661862b1dac29bd3911bf9f4e6d0b23b9 +8cc38fce7ed33e8fdf9c9a157e541a6a481d8201dce4662c035010b8111eb5f4
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.