diff for duplicates of <002701d26070$5172fe20$f458fa60$@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 2f9cf2f..408d7e0 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -4,7 +4,7 @@ On Friday, December 9, 2016 10:49 AM, Olimpiu Dejeu wrote: Please add the commit message here. Refer to commit logs of other backlight drivers. -> Signed-off-by: Olimpiu Dejeu <olimpiu@arcticsand.com> +> Signed-off-by: Olimpiu Dejeu <olimpiu-eV7fy4qpoLhpLGFMi4vTTA@public.gmane.org> > --- > > v1 => v2: @@ -63,7 +63,7 @@ Refer to commit logs of other backlight drivers. > + * Backlight driver for ArcticSand ARC_X_C_0N_0N Devices > + * > + * Copyright 2016 ArcticSand, Inc. -> + * Author : Brian Dodge <bdodge@arcticsand.com> +> + * Author : Brian Dodge <bdodge-eV7fy4qpoLhpLGFMi4vTTA@public.gmane.org> > + * > + * This program is free software; you can redistribute it and/or modify > it @@ -219,7 +219,7 @@ Same above. > + 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 @@ -288,7 +288,7 @@ Same above. > + > + if (leden != lp->pdata->leden) { > + /* don't allow 0 for leden, use power to turn all off */ -> + if (leden = 0) +> + if (leden == 0) > + return -EINVAL; > + lp->pdata->leden = leden & ARCXCNN_LEDEN_MASK; > + arcxcnn_update_bit(lp, ARCXCNN_LEDEN, @@ -327,31 +327,31 @@ Same above. > + lp->pdata->name = NULL; > + > + ret = of_property_read_u32(node, "default-brightness", &prog_val); -> + if (ret = 0) +> + if (ret == 0) > + lp->pdata->initial_brightness = prog_val; > + > + ret = of_property_read_u32(node, "arc,led-config-0", &prog_val); -> + if (ret = 0) +> + if (ret == 0) > + lp->pdata->led_config_0 = (u8)prog_val; > + > + ret = of_property_read_u32(node, "arc,led-config-1", &prog_val); -> + if (ret = 0) +> + if (ret == 0) > + lp->pdata->led_config_1 = (u8)prog_val; > + > + ret = of_property_read_u32(node, "arc,dim-freq", &prog_val); -> + if (ret = 0) +> + if (ret == 0) > + lp->pdata->dim_freq = (u8)prog_val; > + > + ret = of_property_read_u32(node, "arc,comp-config", &prog_val); -> + if (ret = 0) +> + if (ret == 0) > + lp->pdata->comp_config = (u8)prog_val; > + > + ret = of_property_read_u32(node, "arc,filter-config", &prog_val); -> + if (ret = 0) +> + if (ret == 0) > + lp->pdata->filter_config = (u8)prog_val; > + > + ret = of_property_read_u32(node, "arc,trim-config", &prog_val); -> + if (ret = 0) +> + if (ret == 0) > + lp->pdata->trim_config = (u8)prog_val; > + > + ret = of_property_count_u32_elems(node, "led-sources"); @@ -543,7 +543,7 @@ ret); > +module_i2c_driver(arcxcnn_driver); > + > +MODULE_LICENSE("GPL v2"); -> +MODULE_AUTHOR("Brian Dodge <bdodge@arcticsand.com>"); +> +MODULE_AUTHOR("Brian Dodge <bdodge-eV7fy4qpoLhpLGFMi4vTTA@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 @@ -563,7 +563,7 @@ Jingoo Han > + * > + * Copyright 2016 ArcticSand, Inc. -> + * Author : Brian Dodge <bdodge@arcticsand.com> +> + * Author : Brian Dodge <bdodge-eV7fy4qpoLhpLGFMi4vTTA@public.gmane.org> > + * > + * This program is free software; you can redistribute it and/or modify > it @@ -615,3 +615,9 @@ Jingoo Han > +#endif > -- > 2.7.4 + + +-- +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 653710c..a6a698b 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,8 @@ "ref\01481298549-15400-1-git-send-email-olimpiu@arcticsand.com\0" "ref\01481298549-15400-1-git-send-email-olimpiu-eV7fy4qpoLhpLGFMi4vTTA@public.gmane.org\0" - "From\0Jingoo Han <jingoohan1@gmail.com>\0" + "From\0Jingoo Han <jingoohan1-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>\0" "Subject\0Re: [PATCH v2 1/2] backlight arcxcnn add support for ArcticSand devices\0" - "Date\0Tue, 27 Dec 2016 18:37:45 +0000\0" + "Date\0Tue, 27 Dec 2016 13:37:45 -0500\0" "To\0'Olimpiu Dejeu' <olimpiu-eV7fy4qpoLhpLGFMi4vTTA@public.gmane.org>" " robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org\0" "Cc\0lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org" @@ -18,7 +18,7 @@ "Please add the commit message here.\n" "Refer to commit logs of other backlight drivers.\n" "\n" - "> Signed-off-by: Olimpiu Dejeu <olimpiu@arcticsand.com>\n" + "> Signed-off-by: Olimpiu Dejeu <olimpiu-eV7fy4qpoLhpLGFMi4vTTA@public.gmane.org>\n" "> ---\n" "> \n" "> v1 => v2:\n" @@ -77,7 +77,7 @@ "> + * Backlight driver for ArcticSand ARC_X_C_0N_0N Devices\n" "> + *\n" "> + * Copyright 2016 ArcticSand, Inc.\n" - "> + * Author : Brian Dodge <bdodge@arcticsand.com>\n" + "> + * Author : Brian Dodge <bdodge-eV7fy4qpoLhpLGFMi4vTTA@public.gmane.org>\n" "> + *\n" "> + * This program is free software; you can redistribute it and/or modify\n" "> it\n" @@ -233,7 +233,7 @@ "> +\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" "> +\telse\n" @@ -302,7 +302,7 @@ "> +\n" "> +\tif (leden != lp->pdata->leden) {\n" "> +\t\t/* don't allow 0 for leden, use power to turn all off */\n" - "> +\t\tif (leden = 0)\n" + "> +\t\tif (leden == 0)\n" "> +\t\t\treturn -EINVAL;\n" "> +\t\tlp->pdata->leden = leden & ARCXCNN_LEDEN_MASK;\n" "> +\t\tarcxcnn_update_bit(lp, ARCXCNN_LEDEN,\n" @@ -341,31 +341,31 @@ "> +\t\tlp->pdata->name = NULL;\n" "> +\n" "> +\tret = of_property_read_u32(node, \"default-brightness\", &prog_val);\n" - "> +\tif (ret = 0)\n" + "> +\tif (ret == 0)\n" "> +\t\tlp->pdata->initial_brightness = prog_val;\n" "> +\n" "> +\tret = of_property_read_u32(node, \"arc,led-config-0\", &prog_val);\n" - "> +\tif (ret = 0)\n" + "> +\tif (ret == 0)\n" "> +\t\tlp->pdata->led_config_0 = (u8)prog_val;\n" "> +\n" "> +\tret = of_property_read_u32(node, \"arc,led-config-1\", &prog_val);\n" - "> +\tif (ret = 0)\n" + "> +\tif (ret == 0)\n" "> +\t\tlp->pdata->led_config_1 = (u8)prog_val;\n" "> +\n" "> +\tret = of_property_read_u32(node, \"arc,dim-freq\", &prog_val);\n" - "> +\tif (ret = 0)\n" + "> +\tif (ret == 0)\n" "> +\t\tlp->pdata->dim_freq = (u8)prog_val;\n" "> +\n" "> +\tret = of_property_read_u32(node, \"arc,comp-config\", &prog_val);\n" - "> +\tif (ret = 0)\n" + "> +\tif (ret == 0)\n" "> +\t\tlp->pdata->comp_config = (u8)prog_val;\n" "> +\n" "> +\tret = of_property_read_u32(node, \"arc,filter-config\", &prog_val);\n" - "> +\tif (ret = 0)\n" + "> +\tif (ret == 0)\n" "> +\t\tlp->pdata->filter_config = (u8)prog_val;\n" "> +\n" "> +\tret = of_property_read_u32(node, \"arc,trim-config\", &prog_val);\n" - "> +\tif (ret = 0)\n" + "> +\tif (ret == 0)\n" "> +\t\tlp->pdata->trim_config = (u8)prog_val;\n" "> +\n" "> +\tret = of_property_count_u32_elems(node, \"led-sources\");\n" @@ -557,7 +557,7 @@ "> +module_i2c_driver(arcxcnn_driver);\n" "> +\n" "> +MODULE_LICENSE(\"GPL v2\");\n" - "> +MODULE_AUTHOR(\"Brian Dodge <bdodge@arcticsand.com>\");\n" + "> +MODULE_AUTHOR(\"Brian Dodge <bdodge-eV7fy4qpoLhpLGFMi4vTTA@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" @@ -577,7 +577,7 @@ "\n" "> + *\n" "> + * Copyright 2016 ArcticSand, Inc.\n" - "> + * Author : Brian Dodge <bdodge@arcticsand.com>\n" + "> + * Author : Brian Dodge <bdodge-eV7fy4qpoLhpLGFMi4vTTA@public.gmane.org>\n" "> + *\n" "> + * This program is free software; you can redistribute it and/or modify\n" "> it\n" @@ -628,6 +628,12 @@ "> +\n" "> +#endif\n" "> --\n" - > 2.7.4 + "> 2.7.4\n" + "\n" + "\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 -461c631689a32c293da59d87cbd9ff4f0073d9753a22a0e3be2d5c67e1785bc7 +367612736b5da82eaedf03859a59bae7d04b21e0d141a75d2bb89514559b8b34
diff --git a/a/1.txt b/N2/1.txt index 2f9cf2f..9a000e2 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -219,7 +219,7 @@ Same above. > + 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 @@ -288,7 +288,7 @@ Same above. > + > + if (leden != lp->pdata->leden) { > + /* don't allow 0 for leden, use power to turn all off */ -> + if (leden = 0) +> + if (leden == 0) > + return -EINVAL; > + lp->pdata->leden = leden & ARCXCNN_LEDEN_MASK; > + arcxcnn_update_bit(lp, ARCXCNN_LEDEN, @@ -327,31 +327,31 @@ Same above. > + lp->pdata->name = NULL; > + > + ret = of_property_read_u32(node, "default-brightness", &prog_val); -> + if (ret = 0) +> + if (ret == 0) > + lp->pdata->initial_brightness = prog_val; > + > + ret = of_property_read_u32(node, "arc,led-config-0", &prog_val); -> + if (ret = 0) +> + if (ret == 0) > + lp->pdata->led_config_0 = (u8)prog_val; > + > + ret = of_property_read_u32(node, "arc,led-config-1", &prog_val); -> + if (ret = 0) +> + if (ret == 0) > + lp->pdata->led_config_1 = (u8)prog_val; > + > + ret = of_property_read_u32(node, "arc,dim-freq", &prog_val); -> + if (ret = 0) +> + if (ret == 0) > + lp->pdata->dim_freq = (u8)prog_val; > + > + ret = of_property_read_u32(node, "arc,comp-config", &prog_val); -> + if (ret = 0) +> + if (ret == 0) > + lp->pdata->comp_config = (u8)prog_val; > + > + ret = of_property_read_u32(node, "arc,filter-config", &prog_val); -> + if (ret = 0) +> + if (ret == 0) > + lp->pdata->filter_config = (u8)prog_val; > + > + ret = of_property_read_u32(node, "arc,trim-config", &prog_val); -> + if (ret = 0) +> + if (ret == 0) > + lp->pdata->trim_config = (u8)prog_val; > + > + ret = of_property_count_u32_elems(node, "led-sources"); diff --git a/a/content_digest b/N2/content_digest index 653710c..820c85b 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,15 +1,14 @@ "ref\01481298549-15400-1-git-send-email-olimpiu@arcticsand.com\0" - "ref\01481298549-15400-1-git-send-email-olimpiu-eV7fy4qpoLhpLGFMi4vTTA@public.gmane.org\0" "From\0Jingoo Han <jingoohan1@gmail.com>\0" "Subject\0Re: [PATCH v2 1/2] backlight arcxcnn add support for ArcticSand devices\0" - "Date\0Tue, 27 Dec 2016 18:37:45 +0000\0" - "To\0'Olimpiu Dejeu' <olimpiu-eV7fy4qpoLhpLGFMi4vTTA@public.gmane.org>" - " robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org\0" - "Cc\0lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org" - linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - linux-fbdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - " bdodge-eV7fy4qpoLhpLGFMi4vTTA@public.gmane.org\0" + "Date\0Tue, 27 Dec 2016 13:37:45 -0500\0" + "To\0'Olimpiu Dejeu' <olimpiu@arcticsand.com>" + " <robh@kernel.org>\0" + "Cc\0<lee.jones@linaro.org>" + <linux-kernel@vger.kernel.org> + <linux-fbdev@vger.kernel.org> + <devicetree@vger.kernel.org> + " <bdodge@arcticsand.com>\0" "\00:1\0" "b\0" "On Friday, December 9, 2016 10:49 AM, Olimpiu Dejeu wrote:\n" @@ -233,7 +232,7 @@ "> +\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" "> +\telse\n" @@ -302,7 +301,7 @@ "> +\n" "> +\tif (leden != lp->pdata->leden) {\n" "> +\t\t/* don't allow 0 for leden, use power to turn all off */\n" - "> +\t\tif (leden = 0)\n" + "> +\t\tif (leden == 0)\n" "> +\t\t\treturn -EINVAL;\n" "> +\t\tlp->pdata->leden = leden & ARCXCNN_LEDEN_MASK;\n" "> +\t\tarcxcnn_update_bit(lp, ARCXCNN_LEDEN,\n" @@ -341,31 +340,31 @@ "> +\t\tlp->pdata->name = NULL;\n" "> +\n" "> +\tret = of_property_read_u32(node, \"default-brightness\", &prog_val);\n" - "> +\tif (ret = 0)\n" + "> +\tif (ret == 0)\n" "> +\t\tlp->pdata->initial_brightness = prog_val;\n" "> +\n" "> +\tret = of_property_read_u32(node, \"arc,led-config-0\", &prog_val);\n" - "> +\tif (ret = 0)\n" + "> +\tif (ret == 0)\n" "> +\t\tlp->pdata->led_config_0 = (u8)prog_val;\n" "> +\n" "> +\tret = of_property_read_u32(node, \"arc,led-config-1\", &prog_val);\n" - "> +\tif (ret = 0)\n" + "> +\tif (ret == 0)\n" "> +\t\tlp->pdata->led_config_1 = (u8)prog_val;\n" "> +\n" "> +\tret = of_property_read_u32(node, \"arc,dim-freq\", &prog_val);\n" - "> +\tif (ret = 0)\n" + "> +\tif (ret == 0)\n" "> +\t\tlp->pdata->dim_freq = (u8)prog_val;\n" "> +\n" "> +\tret = of_property_read_u32(node, \"arc,comp-config\", &prog_val);\n" - "> +\tif (ret = 0)\n" + "> +\tif (ret == 0)\n" "> +\t\tlp->pdata->comp_config = (u8)prog_val;\n" "> +\n" "> +\tret = of_property_read_u32(node, \"arc,filter-config\", &prog_val);\n" - "> +\tif (ret = 0)\n" + "> +\tif (ret == 0)\n" "> +\t\tlp->pdata->filter_config = (u8)prog_val;\n" "> +\n" "> +\tret = of_property_read_u32(node, \"arc,trim-config\", &prog_val);\n" - "> +\tif (ret = 0)\n" + "> +\tif (ret == 0)\n" "> +\t\tlp->pdata->trim_config = (u8)prog_val;\n" "> +\n" "> +\tret = of_property_count_u32_elems(node, \"led-sources\");\n" @@ -630,4 +629,4 @@ "> --\n" > 2.7.4 -461c631689a32c293da59d87cbd9ff4f0073d9753a22a0e3be2d5c67e1785bc7 +ea79120344f1e7afe1b136638073ea78b4e2231aab59a4fe493401e675a8301e
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.