- 23 8月, 2011 4 次提交
-
-
由 Michael Hennerich 提交于
The interrupt status registers should be read in row to avoid invalid data. Alter "read" method for both bus options to allow reading several registers in a row and make sure we read interrupt status registers properly. Read sequence saves 50% of bus transactions compared to single register reads. So use it also for the result registers, which are also located in a row. Also update copyright notice. Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
spi_write() requires use of DMA-safe (cacheline aligned) buffers. Also use the same buffers when reading data since to avoid extra locking and potential memory allocation in spi_write_then_read(). Acked-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Michael Hennerich 提交于
Allow driver to be used on Big Endian boxes. Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Michael Hennerich 提交于
Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 22 8月, 2011 2 次提交
-
-
由 Axel Lin 提交于
ep93xx_keypad.c uses interfaces from linux/module.h, so it should include that file. This patch fixes build errors. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Axel Lin 提交于
tnetv107x-ts.c uses interfaces from linux/module.h, so it should include that file. This patch fixes build errors. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 21 8月, 2011 1 次提交
-
-
由 Jiejing Zhang 提交于
The original license statement was confusing since it was unclear if the license was pure GPLv2 or GPLv2+ and did not match the license of the driver max11801_ts was derived from. The license is GPLv2+. Signed-off-by: NJiejing Zhang <jiejing.zhang@freescale.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 17 8月, 2011 2 次提交
-
-
由 Yufeng Shen 提交于
Atmel mxt1386 touch controller has the touch pressure information so let's report it to the user space. [dtor@mail.ru: added ABS_RESSURE reporting for ST emulation.] Signed-off-by: NYufeng Shen <miletus@chromium.org> Acked-by: NWanlong Gao <gaowanlong@cn.fujitsu.com> Acked-by: NHenrik Rydberg <rydberg@euromail.se> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Andrew Drake 提交于
New MacBook Pro devices reporting product name MacBookPro8,2 come with newer/higher resolution touchpads than others with the same product name with USB ID 05ac:0252. This patch adds support for these devices. Signed-off-by: NAndrew Drake <adrake@adrake.org> Reviewed-by: NWanlong Gao <gaowanlong@cn.fujitsu.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 16 8月, 2011 3 次提交
-
-
由 Ping Cheng 提交于
Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Ping Cheng 提交于
Use WAC_MSG_RETRIES define instead of a numeric constant. Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Gerard Braad 提交于
Signed-off-by: NGerard Braad <me@gbraad.nl> Reviewed-by: NChris Bagwell <chris@cnpbagwell.com> Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 12 8月, 2011 2 次提交
-
-
由 Axel Lin 提交于
If kzalloc for kbc fails, then we have NULL pointer dereference while calling input_free_device(kbc->idev) in the error handling. So it is safer to always use the original name, input_dev. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Axel Lin 提交于
input_free_device() should be used if input_register_device() was not called yet or if it failed. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 09 8月, 2011 2 次提交
-
-
由 Joshua V. Dillon 提交于
Added USB device IDs for MacBookAir4,2 trackpad. Device constants were copied from the MacBookAir3,2 constants. The 4,2 device specification is reportedly unchanged from the 3,2 predecessor and seems to work well. Signed-off-by: NJoshua V Dillon <jvdillon@gmail.com> Signed-off-by: NChase Douglas <chase.douglas@canonical.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Axel Lin 提交于
The module device table for of_device_id should use "of" type. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 05 8月, 2011 1 次提交
-
-
由 Deepak Saxena 提交于
The analog joystick driver is written for x86 systems. This patch updates it to use the PIT_TICK_RATE value instead of CLOCK_TICK_RATE as they are equivalent on x86 and we want to deprecate the latter. Signed-off-by: NDeepak Saxena <dsaxena@linaro.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 03 8月, 2011 1 次提交
-
-
由 Michael Hennerich 提交于
Input close or device disable should not interact with the exported gpiolib functionality. However that's the case. __ad7879_disable() clears the entire AD7879_REG_CTRL2, while it should just power down the ADC and its reference. Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 01 8月, 2011 1 次提交
-
-
由 Shawn Guo 提交于
It adds device tree probe support for mma8450 driver. Signed-off-by: NShawn Guo <shawn.guo@linaro.org> Acked-by: NEric Miao <eric.miao@linaro.org> Acked-by: NGrant Likely <grant.likely@secretlab.ca> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 31 7月, 2011 5 次提交
-
-
由 Tobias Klauser 提交于
Return -ENOMEM if kzalloc fails in gpio_keys_get_devtree_pdata(). Signed-off-by: NTobias Klauser <tklauser@distanz.ch> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Axel Lin 提交于
Add missing device_remove_file() for dev_attr_time in lm8323_remove(). Also calling device_remove_file() in lm8323_probe() error path to remove sysfs attribute file. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Rakesh Iyer 提交于
Fix a constant definition and computation of polling time. [dtor@mail.ru: switched to using DIV_ROUND_UP as was suggested by Thierry Reding <thierry.reding@avionic-design.de>] Signed-off-by: NRakesh Iyer <riyer@nvidia.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Stephen Rothwell 提交于
We need to explicitly include module.h since some of its facilities are used. Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Randy Dunlap 提交于
hgpk.c uses interfaces from linux/module.h, so it should include that file. This fixes build errors. Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 25 7月, 2011 2 次提交
-
-
由 Dmitry Torokhov 提交于
We were testing wrong bit in the extended capability query. Reported-by: NDaniel Kurtz <djkurtz@chromium.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Rakesh Iyer 提交于
To support key repeats, keyboard needs to be setup as an autorepeating device. Signed-off-by: NRakesh Iyer <riyer@nvidia.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 20 7月, 2011 2 次提交
-
-
由 Dan Carpenter 提交于
According to the comments we want to call mutex_lock() here instead of mutex_unlock(). That makes more sense. Signed-off-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dan Carpenter 提交于
We are testing the wrong variable here. I believe tj9->input_dev is always NULL at this point, so probe() will fail. Signed-off-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 19 7月, 2011 4 次提交
-
-
由 Axel Lin 提交于
The implementation does break from the for loop after we assign 'i' to variable 'found'. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Axel Lin 提交于
It's not referenced outside this file so there's no need for it to be in the global name space. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Axel Lin 提交于
Make sure we are passing the same cookie in all calls to request_any_context_irq() and free_irq(). Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Axel Lin 提交于
The implementation in cy8ctmg110_probe() does not properly set reset_pin and irq_pin from platform data. Let's fix it. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 13 7月, 2011 4 次提交
-
-
由 Axel Lin 提交于
Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Axel Lin 提交于
i2c_master_send returns negative errno, or else the number of bytes written. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Axel Lin 提交于
We only care about if there is a successful match from the table (or no match at all), so let's make dmi_check_system return immediately instead of iterating thorough the whole table. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Axel Lin 提交于
We only care about if there is a successful match from the table (or no match at all), so let's make dmi_check_system return immediately instead of iterating thorough the whole table. Make the dmi callback function return 1 then dmi_check_system will return immediately if we have a successful match. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 11 7月, 2011 3 次提交
-
-
由 Dmitry Torokhov 提交于
This reduces amount #ifdeds in the code. Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 David Jander 提交于
This patch enables fetching configuration data, which is normally provided via platform_data, from the device-tree instead. If the device is configured from device-tree data, the platform_data struct is not used, and button data needs to be allocated dynamically. Big part of this patch deals with confining pdata usage to the probe function, to make this possible. Signed-off-by: NDavid Jander <david@protonic.nl> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Edwin van Vliet 提交于
Constant AIPTEK_TOOL_BUTTON_PEN_MODE was defined twice. Signed-off-by: NEdwin van Vliet <edwin@cheatah.nl> Reviewed-by: NJesper Juhl <jj@chaosbits.net> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 10 7月, 2011 1 次提交
-
-
由 Dmitry Torokhov 提交于
Newer Synaptics firmware allows to query minimum coordinates reported by the device, let's use this data. Acked-by: NChase Douglas <chase.douglas@canonical.com> Acked-by: NHenrik Rydberg <rydberg@euromail.se> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-