- 06 1月, 2013 2 次提交
-
-
由 Ping Cheng 提交于
This patch brings wacom driver in-sync with input-mt changes made in release 3.7. Signed-off-by: NPing Cheng <pingc@wacom.com> Reviewed-by: NHenrik Rydberg <rydberg@euromail.se> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Ping Cheng 提交于
Henrik added new MT routines in release 3.7. This patch is to prepare for the use of new MT routines. In the newly added wacom_abs_set_axis() function, the first if-statement assigns ABS_X/Y for number of contacts less or equal to 2. So, it is single and 2 finger touch devices. Two finger touch devices are processed here since they will not use the updated input_mt_init_slots(), which does not offer benefit to those devices. input_mt_init_slots() will take care of ABS_X/Y assignment when flags are not zero. All touch devices with more than two contacts will use input_mt_init_slots() with non-zero flags. The second if-statement is for all MT devices, which include two finger touch devices. Signed-off-by: NPing Cheng <pingc@wacom.com> Reviewed-by: NHenrik Rydberg <rydberg@euromail.se> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 05 1月, 2013 1 次提交
-
-
由 Javier Martin 提交于
Outputs x8..x0 of the qt2160 can have leds attached to it. This patch handles those outputs using the generic LED framework. The PWM controls available in the chip are used to achieve different levels of brightness. Signed-off-by: NJavier Martin <javier.martin@vista-silicon.com> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 04 1月, 2013 1 次提交
-
-
由 Liu Ying 提交于
This patch adds device tree support for imx keypad driver. Signed-off-by: NLiu Ying <Ying.Liu@freescale.com> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 25 12月, 2012 6 次提交
-
-
由 Wolfram Sang 提交于
Only use the defines which are defined in the platform_data include file. Signed-off-by: NWolfram Sang <w.sang@pengutronix.de> Acked-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Wolfram Sang 提交于
Since it suggests to use defines from input.h (ABS_X, ...), also include the file to make them available. Signed-off-by: NWolfram Sang <w.sang@pengutronix.de> Acked-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Wolfram Sang 提交于
The datasheet doesn't say anything about writing twice, so this was probably overlooked. Signed-off-by: NWolfram Sang <w.sang@pengutronix.de> Acked-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Wolfram Sang 提交于
Don't open code the AC_READ and AC_WRITE macros. Signed-off-by: NWolfram Sang <w.sang@pengutronix.de> Acked-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Mark Brown 提交于
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Mark Brown 提交于
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 17 12月, 2012 2 次提交
-
-
由 Vipul Kumar Samar 提交于
stmpe touchscreen supports BTN_TOUCH event but doesn't report it. Add BTN_TOUCH reporting capability to the stmpe touchscreen driver. Signed-off-by: NVipul Kumar Samar <vipulkumar.samar@st.com> Reviewed-by: NViresh Kumar <viresh.kumar@linaro.org> Acked-by: NLee Jones <lee.jones@linaro.org> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Peter Popovec 提交于
The driver's timer must be set up before enabling IRQ handler, otherwise bad things may happen. Reported-and-tested-by: NFengguang Wu <fengguang.wu@intel.com> Signed-off-by: NPeter Popovec <popovec@fei.tuke.sk> CC: stable@vger.kernel.org Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 04 12月, 2012 2 次提交
-
-
由 Dmitry Torokhov 提交于
This saves us a few lines of code. Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Dmitry Torokhov 提交于
This saves us a few lines of code. Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 30 11月, 2012 8 次提交
-
-
由 Alexander Shiyan 提交于
Signed-off-by: NAlexander Shiyan <shc_work@mail.ru> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Dmitry Torokhov 提交于
Let's switch to using devm_*() interfaces to manage our resources, thus will simplify error unwinding a bit. Reviewed-by: NAlban Bedel <alban.bedel@avionic-design.de> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Dmitry Torokhov 提交于
Failures to build a keymap, request an IRQ, or register input device are fatal for the driver, therefore the messages should have "error" severity instead of "debug". Reviewed-by: NAlban Bedel <alban.bedel@avionic-design.de> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Dmitry Torokhov 提交于
This matches structure of most other input drivers. Reviewed-by: NAlban Bedel <alban.bedel@avionic-design.de> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Dmitry Torokhov 提交于
We need to use proper accessor functions instead of directly poking into various structures. Reviewed-by: NAlban Bedel <alban.bedel@avionic-design.de> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Dmitry Torokhov 提交于
Use a temporary variable for our parent device (coming from I2C client structure); we'll be also using it during conversion to managed resources. Reviewed-by: NAlban Bedel <alban.bedel@avionic-design.de> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Alban Bedel 提交于
Signed-off-by: NAlban Bedel <alban.bedel@avionic-design.de> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Alban Bedel 提交于
Signed-off-by: NAlban Bedel <alban.bedel@avionic-design.de> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 28 11月, 2012 9 次提交
-
-
由 Alexander Shiyan 提交于
The kernel does not contain the symbol SA1100_BITSY so the driver is never compiled and can be removed safely. Signed-off-by: NAlexander Shiyan <shc_work@mail.ru> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Lee Jones 提交于
Now we can register the BU21013_ts touch screen when booting with Device Tree enabled. Here we parse all the necessary components previously expected to be passed from platform data. Acked-by: NArnd Bergmann <arnd@arndb.de> Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NLee Jones <lee.jones@linaro.org> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Lee Jones 提交于
These GPIO init and exit functions have no place in platform data, they should be part of the driver instead, Acked-by: NArnd Bergmann <arnd@arndb.de> Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NLee Jones <lee.jones@linaro.org> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Lee Jones 提交于
Currently the BU21013 Touch Screen driver requests a regulator by the name of 'V-TOUCH', which doesn't exist anywhere in the kernel. The correct name, as referenced in platform regulator code is 'avdd'. Here, when we request a regulator, we use the correct name instead. Acked-by: NArnd Bergmann <arnd@arndb.de> Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NLee Jones <lee.jones@linaro.org> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Lee Jones 提交于
We're currently carrying two 'struct bu21013_platform_device's which are identical for no apparent reason. Here we remove the extra burden and apply the same information to the two different instances of the bu21012_tp driver registration. [Dmitry Torokhov: picked it up to (hopefully) reduce merge conflict with bu21013_ts update that follows.] Acked-by: NArnd Bergmann <arnd@arndb.de> Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NLee Jones <lee.jones@linaro.org> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Jonas Aaberg 提交于
Disable hardware if active when suspending if the hw can not wake the system from suspend. [Dmitry Torokhov: use input_dev->users instead of a separate flag] Signed-off-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NPhilippe Langlais <philippe.langlais@linaro.org> Reviewed-by: NBengt Jonsson <bengt.g.jonsson@stericsson.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Dmitry Torokhov 提交于
Instead of reporting the initial stage when the device is registered we should do it when the device is opened (so there are users). Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Sachin Kamat 提交于
devm_* functions are device managed and make error handling and code simpler. While at it also fix error exit paths. Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Vipul Kumar Samar 提交于
clk_{un}prepare is mandatory for platforms using common clock framework. Because for SPEAr we don't do anything in clk_{un}prepare() calls, just call them once in probe/remove. Signed-off-by: NVipul Kumar Samar <vipulkumar.samar@st.com> Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 25 11月, 2012 2 次提交
-
-
由 Andreas Pretzsch 提交于
In imx_keypad_inhibit(), all 8 columns were set to open-drain, in contrast to the rest of the driver, where only the enabled columns are modified/used. Contrary to the normal expectation, this also affects column I/Os not even mapped via IOMUX to the KPP hardware module but used as a GPIO. Therefore only init enabled columns to open-drain and leave all others with their default reset value of 0, i.e. totem-pole. Signed-off-by: NAndreas Pretzsch <apr@cn-eng.de> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Xiaotian Feng 提交于
We do not need to call tasklet_disable() before calling tasklet_kill() if taskelt does not reschedult itself. Signed-off-by: NXiaotian Feng <dannyfeng@tencent.com> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
- 24 11月, 2012 7 次提交
-
-
由 Peter Ujfalusi 提交于
To facilitate upcoming cleanup in twl stack switch from using TWL4030_MODULE_PM_MASTER define to usingTWL_MODULE_PM_MASTER. There are no functional changes. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Dmitry Torokhov 提交于
This patch allows the STMPE driver to be successfully probed and initialised when Device Tree support is enabled. Besides the usual platform data changes, we also separate the process of filling in the 'in use' pin bitmap, as we have to extract the information from Device Tree in the DT boot case. Acked-by: NArnd Bergmann <arnd@arndb.de> Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NLee Jones <lee.jones@linaro.org> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Bill Pemberton 提交于
CONFIG_HOTPLUG is going away as an option so __devexit is no longer needed. Signed-off-by: NBill Pemberton <wfp5p@virginia.edu> Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Bill Pemberton 提交于
CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed. Signed-off-by: NBill Pemberton <wfp5p@virginia.edu> Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: NJavier Martinez Canillas <javier@dowhile0.org> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Bill Pemberton 提交于
CONFIG_HOTPLUG is going away as an option so __devinitconst is no longer needed. Signed-off-by: NBill Pemberton <wfp5p@virginia.edu> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Bill Pemberton 提交于
CONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed. Signed-off-by: NBill Pemberton <wfp5p@virginia.edu> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-
由 Bill Pemberton 提交于
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed. Signed-off-by: NBill Pemberton <wfp5p@virginia.edu> Acked-by: NRussell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
-