- 07 3月, 2012 1 次提交
-
-
由 Dmitry Torokhov 提交于
Input device must be allocated (but not necessarily registered) before requesting IRQs, otherwise there is a chance that IRQ handler fires and tries to reference not yet allocated input device. Also it makes sense to store relative IRQ numbers in max8925_onkey_info structure as they are needed in suspend/resume which we expect to be called more often than probe and remove. Acked-by: NHaojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 06 3月, 2012 1 次提交
-
-
由 Kevin Liu 提交于
Implement suspend and resume methods to set up devices as wakeup source. Signed-off-by: NKevin Liu <kliu5@marvell.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 05 3月, 2012 7 次提交
-
-
由 Dmitry Torokhov 提交于
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
This allows creating proper sysfs link between driver and its module. Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Javier Martinez Canillas 提交于
Since Cypress TTSP driver was merged in mainline, add a maintainer entry for it. Signed-off-by: NJavier Martinez Canillas <javier@dowhile0.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
This fixes reference-before-check problem; there is no reason to check if caller passed NULL dev or bus_ops as it is done only by bus-specific drivers which already do the right thing. Reported-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Armando Visconti 提交于
The Data Modul TP 72037 EasyTouch controller is derived from EGALAX controller and is capable of detecting dual contacts. Packets can be 5 bytes or 10 bytes long, depending whether one or two contacts are detected. Format is same as EGALAX touch controller, but with x and y coordinates inverted. Signed-off-by: NArmando Visconti <armando.visconti@st.com> Signed-off-by: NViresh Kumar <viresh.kumar@st.com> Signed-off-by: NDaniel Ritz <daniel.ritz@gmx.ch> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Ashish Jangam 提交于
On-key Driver for Dialog Semiconductor DA9052/53 PMICs. Signed-off-by: NDavid Dajun Chen <dchen@diasemi.com> Signed-off-by: NAshish Jangam <ashish.jangam@kpitcummins.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Rachna Patil 提交于
This patch adds support for TI's touchscreen controller for a 4/5/8 wire resistive panel that is directly fed to the ADC. This touchscreen controller will be part of AM335x TI SoC. The TRM can be found at: http://www.ti.com/lit/ug/spruh73a/spruh73a.pdfSigned-off-by: NPatil, Rachna <rachna@ti.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 28 2月, 2012 4 次提交
-
-
由 Viresh Kumar 提交于
Thaw and poweroff routines are missing for spear-keyboard. They are required for: - Error case scenarios during freeze - Using test features, of hibernate. Signed-off-by: NViresh Kumar <viresh.kumar@st.com> Signed-off-by: NRajeev Kumar <rajeev-dlh.kumar@st.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Rajeev Kumar 提交于
Let platform pass mode information to keyboard driver according to which it configures itself. The mode can be - KEYPAD_9x9 0 - KEYPAD_6x6 1 - KEYPAD_2x2 2 Signed-off-by: NRajeev Kumar <rajeev-dlh.kumar@st.com> Signed-off-by: NViresh Kumar <viresh.kumar@st.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Rajeev Kumar 提交于
Add 6x6 keypad matrix and rename 9x9 keymap Signed-off-by: NRajeev Kumar <rajeev-dlh.kumar@st.com> Signed-off-by: NViresh Kumar <viresh.kumar@st.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Rajeev Kumar 提交于
Signed-off-by: NRajeev Kumar <rajeev-dlh.kumar@st.com> Signed-off-by: NViresh Kumar <viresh.kumar@st.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 24 2月, 2012 2 次提交
-
-
由 Paul Fox 提交于
Make use of psmouse_activate() and psmouse_deactivate() from psmouse-base.c Signed-off-by: NAndres Salomon <dilinger@queued.net> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Andres Salomon 提交于
Other drivers duplicate this code; no sense in having it be private to psmouse-base. Signed-off-by: NAndres Salomon <dilinger@queued.net> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 03 2月, 2012 3 次提交
-
-
由 Shridhar Rasal 提交于
Allow marking some of GPIO pins as ignored to to avoid continuously generating KBC input events. Signed-off-by: NShridhar Rasal <srasal@nvidia.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Jan Steinhoff 提交于
This patch adds a driver for Synaptics USB touchpad or pointing stick devices. These USB devices emulate an USB mouse by default, so one can also use the usbhid driver. However, in combination with special user space drivers this kernel driver allows one to customize the behaviour of the device. An extended version of this driver with support for the cPad background display can be found at <http://jan-steinhoff.de/linux/synaptics-usb.html>. Signed-off-by: NJan Steinhoff <mail@jan-steinhoff.de> Acked-by: NJiri Kosina <jkosina@suse.cz> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 John Stultz 提交于
As noted by Arve and others, since wall time can jump backwards, it is difficult to use for input because one cannot determine if one event occurred before another or for how long a key was pressed. However, the timestamp field is part of the kernel ABI, and cannot be changed without possibly breaking existing users. This patch adds a new IOCTL that allows a clockid to be set in the evdev_client struct that will specify which time base to use for event timestamps (ie: CLOCK_MONOTONIC instead of CLOCK_REALTIME). For now we only support CLOCK_MONOTONIC and CLOCK_REALTIME, but in the future we could support other clockids if appropriate. The default remains CLOCK_REALTIME, so we don't change the ABI. Signed-off-by: NJohn Stultz <john.stultz@linaro.org> Reviewed-by: NDaniel Kurtz <djkurtz@google.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 31 1月, 2012 4 次提交
-
-
由 Javier Martinez Canillas 提交于
Cypress TrueTouch(tm) Standard Product controllers are found in a wide range of embedded devices. This driver add support for a variety of TTSP controllers. Since the hardware is capable of tracking identifiable contacts, multi-touch protocol type B (stateful) is used to report contact information. The driver is composed of a core driver that process the data sent by the contacts and a set of bus specific interface modules. This patch adds the base core TTSP driver. Signed-off-by: NJavier Martinez Canillas <javier@dowhile0.org> Reviewed-by: NHenrik Rydberg <rydberg@euromail.se> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Ping Cheng 提交于
And add two new data formats. Tested-by: NChris Bagwell <chris@cnpbagwell.com> Reviewed-by: NChris Bagwell <chris@cnpbagwell.com> Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Ping Cheng 提交于
Tested-by: NChris Bagwell <chris@cnpbagwell.com> Reviewed-by: NChris Bagwell <chris@cnpbagwell.com> Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Masanari Iida 提交于
Correct spelling "connetced" to "connected" in pcf8574_keypad description in drivers/input/misc/Kconfig. Signed-off-by: NMasanari Iida <standby24x7@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 23 1月, 2012 7 次提交
-
-
由 Rakesh Iyer 提交于
Enable keypress interrupt to support wakeup from low power state. Signed-off-by: NRakesh Iyer <riyer@nvidia.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Rakesh Iyer 提交于
Add support for Tegra30 by correcting definitions. This is necessary to make driver useful in Tegra30. Signed-off-by: NRakesh Iyer <riyer@nvidia.com> Acked-by: NStephen Warren: <swarren@nvidia.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Mark Brown 提交于
We don't actually care if the device has been runtime suspended immediately so we can just drop the reference without waiting for any state change to be implemented. This may allow us to avoid some suspend/resume cycles and is a bit more friendly to the rest of the system. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Convert the driver to standard spilt model arch-specific code registers platform device to which driver code can bind later. Also request IRQ immediately upon binding to the device instead of doing this when serio port is being opened. Acked-by: NGeert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Convert driver to use dev_pm_ops instead of legacy PM infrastructure. Also make 'open' a bool since it is really a boolean. Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Also proper guard for system suspend/resume methods is CONFIG_PM_SLEEP, not CONFIG_PM. Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Because we are using platform_device_probe() to register the driver we do not need to assign driver's probe method. We also can mark ske_keypad_probe(), together with ske_keypad_chip_init(), as __init instead of __devinit. Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 05 1月, 2012 7 次提交
-
-
由 Naga Radhesh 提交于
This adds two missing kerneldoc entries for the TC3589x keypad driver. Signed-off-by: NNaga Radhesh <naga.radheshy@stericsson.com> Reviewed-by: NSrinidhi Kasagar <srinidhi.kasagar@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Acked-by: NMarek Vasut <marek.vasut@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Instead of manually create and handler kernel thread switch to threaded IRQ and let kernel IRQ core manage thread for us. Acked-by: NMarek Vasut <marek.vasut@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Let compiler figure out which ones makes most sense to inline. Acked-by: NMarek Vasut <marek.vasut@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Add __devinit/__devexit sections annotations so parts of code could be discarded after completing driver initialization. Acked-by: NMarek Vasut <marek.vasut@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
So that it has proper symlink to the containing module in sysfs. Acked-by: NMarek Vasut <marek.vasut@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Instead of using legacy PM interfaces switch to using dev_pm_ops. Acked-by: NMarek Vasut <marek.vasut@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 31 12月, 2011 4 次提交
-
-
由 Dmitry Torokhov 提交于
Several protocol initialization routines can fail after they set up psmouse methods, such as reconnect and disconnect. This may lead to these stale methods used with different protocol that they were intended to be used for and may cause unpredictavle behavior and/or crashes. Make sure we start with a clean slate before executing each and every protocol detection and/or initialization routine. Reported-by: NPaul Fox <pgf@laptop.org> Acked-by: NTai-hwa Liang <avatar@sentelic.com> Acked-by: NPaul Fox <pgf@laptop.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dima Zavin 提交于
If there is a full packet in the buffer, and we overflow that buffer right after checking for that condition, it would have been possible for us to block indefinitely (rather, until the next full packet) even if the file was marked as O_NONBLOCK. Cc: Jeff Brown <jeffbrown@android.com> Signed-off-by: NDima Zavin <dima@android.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dima Zavin 提交于
Signed-off-by: NDima Zavin <dima@android.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dima Zavin 提交于
Without this, it was possible for the reader to get ahead of packet_head. If the input device generated a partial packet *right* after the reader got ahead, then we can get into a situation where the device is marked readable, but read always returns 0 until the next packet is finished (i.e a SYN is generated by the input driver). This situation can also happen if we overflow the buffer while a reader is trying to read an event out. Signed-off-by: NDima Zavin <dima@android.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-