diff for duplicates of <4FD98856.8070601@compulab.co.il> diff --git a/a/1.txt b/N1/1.txt index 972aacb..994c489 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,5 +1,5 @@ On 06/14/12 07:46, Zumeng Chen wrote: -> 于 2012年06月13日 20:18, Hiremath, Vaibhav 写道: +> ? 2012?06?13? 20:18, Hiremath, Vaibhav ??: >> On Wed, Jun 13, 2012 at 07:14:10, Zumeng Chen wrote: >>> From: Zumeng Chen<zumeng.chen@windriver.com> >>> @@ -56,3 +56,10 @@ How about the attached patch, does it fix the problem for you? -- Regards, Igor. +-------------- next part -------------- +A non-text attachment was scrubbed... +Name: ads7846.patch +Type: text/x-patch +Size: 1432 bytes +Desc: not available +URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120614/f22a4b45/attachment.bin> diff --git a/a/2.hdr b/a/2.hdr deleted file mode 100644 index 7fe483f..0000000 --- a/a/2.hdr +++ /dev/null @@ -1,5 +0,0 @@ -Content-Type: text/x-patch; - name="ads7846.patch" -Content-Transfer-Encoding: 7bit -Content-Disposition: attachment; - filename="ads7846.patch" diff --git a/a/2.txt b/a/2.txt deleted file mode 100644 index be65f21..0000000 --- a/a/2.txt +++ /dev/null @@ -1,45 +0,0 @@ -diff --git a/arch/arm/mach-omap2/common-board-devices.c b/arch/arm/mach-omap2/common-board-devices.c -index 1706ebc..c187586 100644 ---- a/arch/arm/mach-omap2/common-board-devices.c -+++ b/arch/arm/mach-omap2/common-board-devices.c -@@ -63,28 +63,30 @@ void __init omap_ads7846_init(int bus_num, int gpio_pendown, int gpio_debounce, - struct spi_board_info *spi_bi = &ads7846_spi_board_info; - int err; - -- if (board_pdata && board_pdata->get_pendown_state) { -- err = gpio_request_one(gpio_pendown, GPIOF_IN, "TSPenDown"); -- if (err) { -- pr_err("Couldn't obtain gpio for TSPenDown: %d\n", err); -- return; -- } -- gpio_export(gpio_pendown, 0); -- -- if (gpio_debounce) -- gpio_set_debounce(gpio_pendown, gpio_debounce); -+ err = gpio_request_one(gpio_pendown, GPIOF_IN, "TSPenDown"); -+ if (err) { -+ pr_err("Couldn't obtain gpio for TSPenDown: %d\n", err); -+ return; - } - -+ if (gpio_debounce) -+ gpio_set_debounce(gpio_pendown, gpio_debounce); -+ - spi_bi->bus_num = bus_num; - spi_bi->irq = gpio_to_irq(gpio_pendown); - - if (board_pdata) { - board_pdata->gpio_pendown = gpio_pendown; - spi_bi->platform_data = board_pdata; -+ if (board_pdata->get_pendown_state) -+ gpio_export(gpio_pendown, 0); - } else { - ads7846_config.gpio_pendown = gpio_pendown; - } - -+ if (!board_pdata || (board_pdata && !board_pdata->get_pendown_state)) -+ gpio_free(gpio_pendown); -+ - spi_register_board_info(&ads7846_spi_board_info, 1); - } - #else diff --git a/a/content_digest b/N1/content_digest index 2806dc1..910842f 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,32 +1,16 @@ + "ref\0zumeng.chen@gmail.com\0" "ref\01339551850-20827-1-git-send-email-zumeng.chen@gmail.com\0" "ref\01339551850-20827-6-git-send-email-zumeng.chen@gmail.com\0" "ref\079CD15C6BA57404B839C016229A409A83EA4F07F@DBDE01.ent.ti.com\0" "ref\04FD96CBF.5040106@windriver.com\0" - "From\0Igor Grinberg <grinberg@compulab.co.il>\0" - "Subject\0Re: [PATCH V2 5/5] Input: ads7846: set proper debounce time in driver level\0" + "From\0grinberg@compulab.co.il (Igor Grinberg)\0" + "Subject\0[PATCH V2 5/5] Input: ads7846: set proper debounce time in driver level\0" "Date\0Thu, 14 Jun 2012 09:44:38 +0300\0" - "To\0Zumeng Chen <zumeng.chen@windriver.com>\0" - "Cc\0Hiremath" - Vaibhav <hvaibhav@ti.com> - mike@compulab.co.il - Zumeng Chen <zumeng.chen@gmail.com> - tony@atomide.com <tony@atomide.com> - Hunter - Jon <jon-hunter@ti.com> - linux-omap@vger.kernel.org <linux-omap@vger.kernel.org> - linux-arm-kernel@lists.infradead.org <linux-arm-kernel@lists.infradead.org> - Hilman - Kevin <khilman@ti.com> - Syed Mohammed - Khasim <khasim@ti.com> - Gupta - Ajay Kumar <ajay.gupta@ti.com> - dmitry.torokhov@gmail.com <dmitry.torokhov@gmail.com> - " linux-input@vger.kernel.org <linux-input@vger.kernel.org>\0" - "\01:1\0" + "To\0linux-arm-kernel@lists.infradead.org\0" + "\00:1\0" "b\0" "On 06/14/12 07:46, Zumeng Chen wrote:\n" - "> \344\272\216 2012\345\271\26406\346\234\21013\346\227\245 20:18, Hiremath, Vaibhav \345\206\231\351\201\223:\n" + "> ? 2012?06?13? 20:18, Hiremath, Vaibhav ??:\n" ">> On Wed, Jun 13, 2012 at 07:14:10, Zumeng Chen wrote:\n" ">>> From: Zumeng Chen<zumeng.chen@windriver.com>\n" ">>>\n" @@ -82,54 +66,13 @@ "\n" "-- \n" "Regards,\n" - Igor. - "\01:2\0" - "fn\0ads7846.patch\0" - "b\0" - "diff --git a/arch/arm/mach-omap2/common-board-devices.c b/arch/arm/mach-omap2/common-board-devices.c\n" - "index 1706ebc..c187586 100644\n" - "--- a/arch/arm/mach-omap2/common-board-devices.c\n" - "+++ b/arch/arm/mach-omap2/common-board-devices.c\n" - "@@ -63,28 +63,30 @@ void __init omap_ads7846_init(int bus_num, int gpio_pendown, int gpio_debounce,\n" - " \tstruct spi_board_info *spi_bi = &ads7846_spi_board_info;\n" - " \tint err;\n" - " \n" - "-\tif (board_pdata && board_pdata->get_pendown_state) {\n" - "-\t\terr = gpio_request_one(gpio_pendown, GPIOF_IN, \"TSPenDown\");\n" - "-\t\tif (err) {\n" - "-\t\t\tpr_err(\"Couldn't obtain gpio for TSPenDown: %d\\n\", err);\n" - "-\t\t\treturn;\n" - "-\t\t}\n" - "-\t\tgpio_export(gpio_pendown, 0);\n" - "-\n" - "-\t\tif (gpio_debounce)\n" - "-\t\t\tgpio_set_debounce(gpio_pendown, gpio_debounce);\n" - "+\terr = gpio_request_one(gpio_pendown, GPIOF_IN, \"TSPenDown\");\n" - "+\tif (err) {\n" - "+\t\tpr_err(\"Couldn't obtain gpio for TSPenDown: %d\\n\", err);\n" - "+\t\treturn;\n" - " \t}\n" - " \n" - "+\tif (gpio_debounce)\n" - "+\t\tgpio_set_debounce(gpio_pendown, gpio_debounce);\n" - "+\n" - " \tspi_bi->bus_num\t= bus_num;\n" - " \tspi_bi->irq\t= gpio_to_irq(gpio_pendown);\n" - " \n" - " \tif (board_pdata) {\n" - " \t\tboard_pdata->gpio_pendown = gpio_pendown;\n" - " \t\tspi_bi->platform_data = board_pdata;\n" - "+\t\tif (board_pdata->get_pendown_state)\n" - "+\t\t\tgpio_export(gpio_pendown, 0);\n" - " \t} else {\n" - " \t\tads7846_config.gpio_pendown = gpio_pendown;\n" - " \t}\n" - " \n" - "+\tif (!board_pdata || (board_pdata && !board_pdata->get_pendown_state))\n" - "+\t\tgpio_free(gpio_pendown);\n" - "+\n" - " \tspi_register_board_info(&ads7846_spi_board_info, 1);\n" - " }\n" - #else + "Igor.\n" + "-------------- next part --------------\n" + "A non-text attachment was scrubbed...\n" + "Name: ads7846.patch\n" + "Type: text/x-patch\n" + "Size: 1432 bytes\n" + "Desc: not available\n" + URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120614/f22a4b45/attachment.bin> -5a4855f16aa65a866511440cbb29d011ec37cb38c36eb93e510ea9124ff68d0b +b2e405e65ddbf3a9a77f69ef005517b73d2d4c0786339b1373744d03fc14c967
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.