- 29 6月, 2009 2 次提交
-
-
由 Jani Nikula 提交于
The gpio_get_value function may sleep, so it should not be called in a timer function. Move gpio_get_value calls to workqueue. Signed-off-by: NJani Nikula <ext-jani.1.nikula@nokia.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Jani Nikula 提交于
This reverts commit 0b346838. This commit breaks GPIO debouncing by replacing the original mod_timer with schedule_delayed_work in the interrupt handler. The latter does not kick the timer further on GPIO line changes as it should to perform debouncing. Signed-off-by: NJani Nikula <ext-jani.1.nikula@nokia.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 11 6月, 2009 1 次提交
-
-
由 Alek Du 提交于
The gpio_get_value function of I2C/SPI GPIO expander may sleep thus this function call can not be called in a timer function. Signed-off-by: NAlek Du <alek.du@intel.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 19 4月, 2009 1 次提交
-
-
由 Dmitry Torokhov 提交于
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 28 10月, 2008 1 次提交
-
-
由 Dominic Curran 提交于
This patch adds a flag to gpio-key driver to turn on the input subsystems auto repeat feature if needed. Signed-off-by: NDominic Curran <dcurran@ti.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 18 8月, 2008 1 次提交
-
-
由 Huang Weiyi 提交于
If a driver dies not use LINUX_VERSION_CODE nor KERNEL_VERSION then it does not need to include version.h Signed-off-by: NHuang Weiyi <weiyi.huang@gmail.com> Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 09 8月, 2008 2 次提交
-
-
由 Uwe Kleine-König 提交于
For now this only saves a few instructions (for gpio_keys_report_event, gpio_keys_isr and gpio_check_button one instraction each on ARM using arm-linux-gnu-gcc 4.2.3---I assume this is similar for other arch/compiler combinations). Signed-off-by: NUwe Kleine-König <Uwe.Kleine-Koenig@digi.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Uwe Kleine-König 提交于
By passing a gpio_button_data structure to the handler instead of the whole platform_device the search for the right button can go away. Signed-off-by: NUwe Kleine-König <Uwe.Kleine-Koenig@digi.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 30 7月, 2008 2 次提交
-
-
由 Uwe Kleine-König 提交于
This fixes the sparse warning symbol 'gpio_keys_device_driver' was not declared. Should it be static? Signed-off-by: NUwe Kleine-König <Uwe.Kleine-Koenig@digi.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Uwe Kleine-König 提交于
bdata->button is used in gpio_check_button but never initialized. Having a device with debounce_interval != 0 without this patch resulted on an oops on my machine. Signed-off-by: NUwe Kleine-König <Uwe.Kleine-Koenig@digi.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 17 5月, 2008 1 次提交
-
-
由 Dmitry Baryshkov 提交于
Signed-off-by: NDmitry Baryshkov <dbaryshkov@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 25 4月, 2008 1 次提交
-
-
由 Kay Sievers 提交于
Since 43cc71ee, the platform modalias is prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable "input" platform drivers, to re-enable auto loading. [dbrownell@users.sourceforge.net: more drivers, registration fixes] Signed-off-by: NKay Sievers <kay.sievers@vrfy.org> Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 15 4月, 2008 1 次提交
-
-
由 David Brownell 提交于
Cleanup IRQ handling in gpio_keys: bail after handling the IRQ, and report IRQ_NONE if we never handle it. Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 22 11月, 2007 1 次提交
-
-
由 Herbert Valerio Riedel 提交于
Currently, gpio_keys.c assumes the GPIOs to be already properly configured; this patch changes gpio-keys to perform explicit calls to gpio_request() and gpio_configure_input(). This matches the behaviour of leds-gpio. Signed-off-by: NHerbert Valerio Riedel <hvr@gnu.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 20 10月, 2007 1 次提交
-
-
由 Jiri Slaby 提交于
get rid of input BIT* duplicate defines use newly global defined macros for input layer. Also remove includes of input.h from non-input sources only for BIT macro definiton. Define the macro temporarily in local manner, all those local definitons will be removed further in this patchset (to not break bisecting). BIT macro will be globally defined (1<<x) Signed-off-by: NJiri Slaby <jirislaby@gmail.com> Cc: <dtor@mail.ru> Acked-by: NJiri Kosina <jkosina@suse.cz> Cc: <lenb@kernel.org> Acked-by: NMarcel Holtmann <marcel@holtmann.org> Cc: <perex@suse.cz> Acked-by: NMauro Carvalho Chehab <mchehab@infradead.org> Cc: <vernux@us.ibm.com> Cc: <malattia@linux.it> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-
- 26 9月, 2007 2 次提交
-
-
由 Anti Sullin 提交于
This patch adds suspend/resume support and enables wakeup from gpio_keys buttons. Signed-off-by: NAnti Sullin <anti.sullin@artecdesign.ee> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Anti Sullin 提交于
As David Brownell pointed out, gpio_keys driver does not check return code of gpio_to_irq(). This patch adds the gpio_to_irq return code check to gpio_keys and moves the IRQ edge type setting to request_irq flags to avoid changing the irq type before we have confirmed we can use it. Signed-off-by: NAnti Sullin <anti.sullin@artecdesign.ee> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 24 7月, 2007 1 次提交
-
-
由 Jesper Juhl 提交于
Signed-off-by: NJesper Juhl <jesper.juhl@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 01 5月, 2007 1 次提交
-
-
由 Roman Moravcik 提交于
Signed-off-by: NRoman Moravcik <roman.moravcik@gmail.com> Signed-off-by: NPaul Sokolovsky <pmiscml@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 12 4月, 2007 2 次提交
-
-
由 Dmitry Torokhov 提交于
In preparation for struct class_device -> struct device input core conversion, switch to using input_dev->dev.parent when specifying device position in sysfs tree. Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Use input_get_drvdata() and input_set_drvdata() instead. Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 05 3月, 2007 1 次提交
-
-
由 David Brownell 提交于
The gpio_keys driver is wrongly ARM-specific; it can't build on other platforms with GPIO suport. This fixes that problem. Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net> Cc: Dmitry Torokhov <dtor@mail.ru> Cc: pHilipp Zabel <philipp.zabel@gmail.com> Cc: Haavard Skinnemoen <hskinnemoen@atmel.com> Cc: Russell King <rmk@arm.linux.org.uk> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Ben Nizette <ben.nizette@iinet.net.au> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-
- 18 2月, 2007 1 次提交
-
-
由 Philipp Zabel 提交于
This adds support for at least SA1100 and S3C24xx CPUs. Signed-off-by: NPhilipp Zabel <philipp.zabel@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 15 2月, 2007 1 次提交
-
-
由 Thomas Gleixner 提交于
The obsolete SA_xxx interrupt flags have been used despite the scheduled removal. Fixup the remaining users in -mm. Signed-off-by: NThomas Gleixner <tglx@linutronix.de> Acked-by: NIngo Molnar <mingo@elte.hu> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-
- 18 1月, 2007 1 次提交
-
-
由 Phil Blundell 提交于
This is an interrupt-driven keyboard driver for simple buttons connected directly to CPU GPIO lines of embedded ARM systems. It supports pxa architectures and is used by a number of PDAs and PocketPC phones in the handhelds.org kernel. Support for other architectures, such as sa11xx and sc2410, will be added once generic GPIO API is available. Signed-off-by: NPaul Sokolovsky <pmiscml@gmail.com> Signed-off-by: NPhilipp Zabel <philipp.zabel@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-