diff for duplicates of <201210211932.26094.marex@denx.de> diff --git a/a/1.txt b/N1/1.txt index 1826359..fc4bff3 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,15 +1,15 @@ -Dear Martin Li=C5=A1ka, +Dear Martin Liška, > Hello, > my kernel driver is still unable to start capturing in a proper way. > First step for listening is ->=20 +> > * echo 1 > > /sys/bus/iio/devices/iio\:device0/scan_elements/in_illuminance1_en* > * > * > but ->=20 +> > *cat /sys/bus/iio/devices/iio\:device0/scan_elements/in_illuminance1_en* > *-1* > * @@ -24,13 +24,13 @@ Dear Martin Li=C5=A1ka, > *[ 27.423650] XXX: getting data for filling buffer* > *[ 27.423698] XXX: buffer is ready* > *[ 30.444120] XXX: getting data for filling buffer* ->=20 +> > Do you have any advices how to figure out where is problem? ->=20 +> > Thank you, > Martin ->=20 ->=20 +> +> > /* > * ACPI Ambient Light Sensor Driver > * @@ -46,7 +46,7 @@ Dear Martin Li=C5=A1ka, > * You should have received a copy of the GNU General Public License > * along with this program. If not, see <http://www.gnu.org/licenses/>. > */ ->=20 +> > #include <linux/module.h> > #include <linux/interrupt.h> > #include <trace/events/printk.h> @@ -54,73 +54,71 @@ Dear Martin Li=C5=A1ka, > #include <acpi/acpi_drivers.h> > #include <linux/err.h> > #include <linux/mutex.h> ->=20 +> > #include <linux/iio/iio.h> > #include <linux/iio/buffer.h> > #include <linux/iio/sysfs.h> > #include <linux/iio/trigger.h> > #include <linux/iio/trigger_consumer.h> > #include <linux/iio/triggered_buffer.h> ->=20 +> > #define PREFIX "ACPI: " ->=20 +> > #define ACPI_ALS_CLASS "als" > #define ACPI_ALS_DEVICE_NAME "acpi-als" > #define ACPI_ALS_NOTIFY_ILLUMINANCE 0x80 > #define ACPI_ALS_NOTIFY_COLOR_TEMP 0x81 > #define ACPI_ALS_NOTIFY_RESPONSE 0x82 ->=20 +> > #define ACPI_ALS_OUTPUTS 3 ->=20 +> > #define _COMPONENT ACPI_ALS_COMPONENT > ACPI_MODULE_NAME("acpi-als"); ->=20 +> > MODULE_AUTHOR("Martin Liska"); > MODULE_DESCRIPTION("ACPI Ambient Light Sensor Driver"); > MODULE_LICENSE("GPL"); ->=20 +> > struct acpi_als_chip { > struct acpi_device *device; > struct acpi_als_device *acpi_als_sys; > struct mutex lock; > struct iio_trigger *trig; ->=20 +> > int illuminance; > int temperature; > int chromaticity; > int polling; ->=20 +> > int count; > struct acpi_als_mapping *mappings; > }; ->=20 +> > static int acpi_als_add(struct acpi_device *device); > static int acpi_als_remove(struct acpi_device *device, int type); > static void acpi_als_notify(struct acpi_device *device, u32 event); ->=20 -> static const struct acpi_device_id acpi_als_device_ids[] =3D { +> +> static const struct acpi_device_id acpi_als_device_ids[] = { > {"ACPI0008", 0}, > {"", 0}, > }; ->=20 +> > MODULE_DEVICE_TABLE(acpi, acpi_als_device_ids); ->=20 -> static struct acpi_driver acpi_als_driver =3D { -> .name =3D "acpi_als", -> .class =3D ACPI_ALS_CLASS, -> .ids =3D acpi_als_device_ids, -> .ops =3D { -> .add =3D acpi_als_add, -> .remove =3D acpi_als_remove, -> .notify =3D acpi_als_notify, +> +> static struct acpi_driver acpi_als_driver = { +> .name = "acpi_als", +> .class = ACPI_ALS_CLASS, +> .ids = acpi_als_device_ids, +> .ops = { +> .add = acpi_als_add, +> .remove = acpi_als_remove, +> .notify = acpi_als_notify, > }, > }; [...] -=2E.. again ... +... again ... -_Please_ fix your mailer if you want to submit files inline, the indent is= -=20 -completely fucked. This behavior of yours definitelly does _NOT_ help anyon= -e, it=20 +_Please_ fix your mailer if you want to submit files inline, the indent is +completely fucked. This behavior of yours definitelly does _NOT_ help anyone, it only puts unnecessary burden on the reader! diff --git a/a/content_digest b/N1/content_digest index 40f4973..7fbb07b 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,35 +1,36 @@ "ref\0CAObPJ3PctmLP56NvmLvJd+4w9e4xeOGSyz24FyBDXBQQVhDhxQ@mail.gmail.com\0" "ref\0201209111121.34205.marex@denx.de\0" "ref\0CAObPJ3PB0VYNE9vhrwJRA9jpWX6p7_Kw8T2eCMgj0M0zJ9feUA@mail.gmail.com\0" - "From\0Marek Vasut <marex@denx.de>\0" + "ref\0CAObPJ3PB0VYNE9vhrwJRA9jpWX6p7_Kw8T2eCMgj0M0zJ9feUA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org\0" + "From\0Marek Vasut <marex-ynQEQJNshbs@public.gmane.org>\0" "Subject\0Re: ACPI ambient light sensor\0" "Date\0Sun, 21 Oct 2012 19:32:25 +0200\0" - "To\0Martin Li\305\241ka <marxin.liska@gmail.com>\0" - "Cc\0Jonathan Cameron <jic23@cam.ac.uk>" - platform-driver-x86@vger.kernel.org - linux-iio@vger.kernel.org - Zhang Rui <rui.zhang@intel.com> - Corentin Chary <corentin.chary@gmail.com> - joeyli <jlee@suse.com> - Len Brown <len.brown@intel.com> - pavel@denx.de - Jonathan Cameron <jic23@kernel.org> - Jon Brenner <jbrenner@taosinc.com> - " Peter Meerwald <pmeerw@pmeerw.net>\0" + "To\0Martin Li\305\241ka <marxin.liska-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>\0" + "Cc\0Jonathan Cameron <jic23-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org>" + platform-driver-x86-u79uwXL29TY76Z2rM5mHXA@public.gmane.org + linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org + Zhang Rui <rui.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> + Corentin Chary <corentin.chary-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> + joeyli <jlee-IBi9RG/b67k@public.gmane.org> + Len Brown <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> + pavel-ynQEQJNshbs@public.gmane.org + Jonathan Cameron <jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> + Jon Brenner <jbrenner-yYKgigLBUwlBDgjK7y7TUQ@public.gmane.org> + " Peter Meerwald <pmeerw-jW+XmwGofnusTnJN9+BGXg@public.gmane.org>\0" "\00:1\0" "b\0" - "Dear Martin Li=C5=A1ka,\n" + "Dear Martin Li\305\241ka,\n" "\n" "> Hello,\n" "> my kernel driver is still unable to start capturing in a proper way.\n" "> First step for listening is\n" - ">=20\n" + "> \n" "> * echo 1 >\n" "> /sys/bus/iio/devices/iio\\:device0/scan_elements/in_illuminance1_en*\n" "> *\n" "> *\n" "> but\n" - ">=20\n" + "> \n" "> *cat /sys/bus/iio/devices/iio\\:device0/scan_elements/in_illuminance1_en*\n" "> *-1*\n" "> *\n" @@ -44,13 +45,13 @@ "> *[ 27.423650] XXX: getting data for filling buffer*\n" "> *[ 27.423698] XXX: buffer is ready*\n" "> *[ 30.444120] XXX: getting data for filling buffer*\n" - ">=20\n" + "> \n" "> Do you have any advices how to figure out where is problem?\n" - ">=20\n" + "> \n" "> Thank you,\n" "> Martin\n" - ">=20\n" - ">=20\n" + "> \n" + "> \n" "> /*\n" "> * ACPI Ambient Light Sensor Driver\n" "> *\n" @@ -66,7 +67,7 @@ "> * You should have received a copy of the GNU General Public License\n" "> * along with this program. If not, see <http://www.gnu.org/licenses/>.\n" "> */\n" - ">=20\n" + "> \n" "> #include <linux/module.h>\n" "> #include <linux/interrupt.h>\n" "> #include <trace/events/printk.h>\n" @@ -74,75 +75,73 @@ "> #include <acpi/acpi_drivers.h>\n" "> #include <linux/err.h>\n" "> #include <linux/mutex.h>\n" - ">=20\n" + "> \n" "> #include <linux/iio/iio.h>\n" "> #include <linux/iio/buffer.h>\n" "> #include <linux/iio/sysfs.h>\n" "> #include <linux/iio/trigger.h>\n" "> #include <linux/iio/trigger_consumer.h>\n" "> #include <linux/iio/triggered_buffer.h>\n" - ">=20\n" + "> \n" "> #define PREFIX \"ACPI: \"\n" - ">=20\n" + "> \n" "> #define ACPI_ALS_CLASS \"als\"\n" "> #define ACPI_ALS_DEVICE_NAME \"acpi-als\"\n" "> #define ACPI_ALS_NOTIFY_ILLUMINANCE 0x80\n" "> #define ACPI_ALS_NOTIFY_COLOR_TEMP 0x81\n" "> #define ACPI_ALS_NOTIFY_RESPONSE 0x82\n" - ">=20\n" + "> \n" "> #define ACPI_ALS_OUTPUTS 3\n" - ">=20\n" + "> \n" "> #define _COMPONENT ACPI_ALS_COMPONENT\n" "> ACPI_MODULE_NAME(\"acpi-als\");\n" - ">=20\n" + "> \n" "> MODULE_AUTHOR(\"Martin Liska\");\n" "> MODULE_DESCRIPTION(\"ACPI Ambient Light Sensor Driver\");\n" "> MODULE_LICENSE(\"GPL\");\n" - ">=20\n" + "> \n" "> struct acpi_als_chip {\n" "> struct acpi_device *device;\n" "> struct acpi_als_device *acpi_als_sys;\n" "> struct mutex lock;\n" "> struct iio_trigger *trig;\n" - ">=20\n" + "> \n" "> int illuminance;\n" "> int temperature;\n" "> int chromaticity;\n" "> int polling;\n" - ">=20\n" + "> \n" "> int count;\n" "> struct acpi_als_mapping *mappings;\n" "> };\n" - ">=20\n" + "> \n" "> static int acpi_als_add(struct acpi_device *device);\n" "> static int acpi_als_remove(struct acpi_device *device, int type);\n" "> static void acpi_als_notify(struct acpi_device *device, u32 event);\n" - ">=20\n" - "> static const struct acpi_device_id acpi_als_device_ids[] =3D {\n" + "> \n" + "> static const struct acpi_device_id acpi_als_device_ids[] = {\n" "> {\"ACPI0008\", 0},\n" "> {\"\", 0},\n" "> };\n" - ">=20\n" + "> \n" "> MODULE_DEVICE_TABLE(acpi, acpi_als_device_ids);\n" - ">=20\n" - "> static struct acpi_driver acpi_als_driver =3D {\n" - "> .name =3D \"acpi_als\",\n" - "> .class =3D ACPI_ALS_CLASS,\n" - "> .ids =3D acpi_als_device_ids,\n" - "> .ops =3D {\n" - "> .add =3D acpi_als_add,\n" - "> .remove =3D acpi_als_remove,\n" - "> .notify =3D acpi_als_notify,\n" + "> \n" + "> static struct acpi_driver acpi_als_driver = {\n" + "> .name = \"acpi_als\",\n" + "> .class = ACPI_ALS_CLASS,\n" + "> .ids = acpi_als_device_ids,\n" + "> .ops = {\n" + "> .add = acpi_als_add,\n" + "> .remove = acpi_als_remove,\n" + "> .notify = acpi_als_notify,\n" "> },\n" "> };\n" "[...]\n" "\n" - "=2E.. again ...\n" + "... again ...\n" "\n" - "_Please_ fix your mailer if you want to submit files inline, the indent is=\n" - "=20\n" - "completely fucked. This behavior of yours definitelly does _NOT_ help anyon=\n" - "e, it=20\n" + "_Please_ fix your mailer if you want to submit files inline, the indent is \n" + "completely fucked. This behavior of yours definitelly does _NOT_ help anyone, it \n" only puts unnecessary burden on the reader! -2a6a8da6c61320f6231c0bc662ee9d1a24cb61b1f5153f0b40b0c6c34a42ef22 +5ae6a1c5d7e15884756edb9933a92c1c0ec9828da52e94c094940cac55db4d6b
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.