- 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>
-
- 12 8月, 2011 1 次提交
-
-
由 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 1 次提交
-
-
由 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>
-
- 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 1 次提交
-
-
由 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>
-
- 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>
-
- 07 7月, 2011 1 次提交
-
-
由 Chris Hudson 提交于
Signed-off-by: NChris Hudson <chudson@kionix.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 05 7月, 2011 1 次提交
-
-
由 Stefano Stabellini 提交于
Signed-off-by: NStefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 29 6月, 2011 1 次提交
-
-
由 Joseph Lai 提交于
This driver is registered as an input device. An IRQ is required in this basic driver configuration. Signed-off-by: NJoseph Lai <joseph_lai@wistron.com> [Cleaned up PM_RUNTIME defines] Signed-off-by: NAlan Cox <alan@linux.intel.com> [dtor@mail.ru: consolidated PM methods, some code rearrangement] Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 28 6月, 2011 1 次提交
-
-
由 Jesper Juhl 提交于
It was pointed out by 'make versioncheck' that some includes of linux/version.h are not needed in drivers/input/. This patch removes them. Signed-off-by: NJesper Juhl <jj@chaosbits.net> Acked-by: NMike Frysinger <vapier@gentoo.org> Acked-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 22 6月, 2011 1 次提交
-
-
由 Eric Miao 提交于
Signed-off-by: NSammy He <r62914@freescale.com> Signed-off-by: NEric Miao <eric.miao@linaro.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 27 5月, 2011 2 次提交
-
-
由 Trilok Soni 提交于
Add support for PMIC8XXX power key driven over dedicated KYPD_PWR_N pin. Acked-by: NDmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: NTrilok Soni <tsoni@codeaurora.org> Signed-off-by: NAnirudh Ghayal <aghayal@codeaurora.org> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Samuel Ortiz 提交于
With the addition of a platform device mfd_cell pointer, MFD drivers can go back to passing platform data back to their sub drivers. This allows for an mfd_cell->mfd_data removal and thus keep the sub drivers MFD agnostic. This is mostly needed for non MFD aware sub drivers. Cc: Peter Ujfalusi <peter.ujfalusi@nokia.com> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: Liam Girdwood <lrg@slimlogic.co.uk> Cc: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
- 17 5月, 2011 4 次提交
-
-
由 Michael Hennerich 提交于
As reported by Jean-Francois Dagenais, the wheel algorithm caused a divide by zero exception due to missing variable pre-initialization. In fact it turned out that the whole algorithm had several problems. It is therefore replaced with something that is known working. Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com> Tested-by: NJean-Francois Dagenais <jeff.dagenais@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Michael Hennerich 提交于
Add option to specify irqflags in platfrom data. Also update copyright notice. Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com> Tested-by: NJean-Francois Dagenais <jeff.dagenais@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Michael Hennerich 提交于
Fix two issues in the threshold and completion interrupt mask and unmask functions. According to the AD714x datasheets the highest stage completion interrupt should be enabled. Fix mask computation. Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com> Tested-by: NJean-Francois Dagenais <jeff.dagenais@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Michael Hennerich 提交于
Add missing input name and set up parent devices so input devices will show in proper places in sysfs tree. Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com> Tested-by: NJean-Francois Dagenais <jeff.dagenais@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 12 5月, 2011 2 次提交
-
-
由 Johan Hovold 提交于
Add support for encoders that have two detents per input signal period. Signed-off-by: NJohan Hovold <jhovold@gmail.com> Acked-by: NDaniel Mack <zonque@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Johan Hovold 提交于
Refactor state retrieval and event reporting in interrupt handler. Remove a few empty lines. Signed-off-by: NJohan Hovold <jhovold@gmail.com> Reviewed-by: NH Hartley Sweeten <hsweeten@visionengravers.com> Acked-by: NDaniel Mack <zonque@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 05 5月, 2011 1 次提交
-
-
由 Ville Syrjala 提交于
If the channel_mask setup fails when configuring it through sysfs, return the error code to the caller instead of claiming success. Signed-off-by: NVille Syrjala <syrjala@sci.fi> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 28 4月, 2011 1 次提交
-
-
由 Axel Lin 提交于
In twl4030_pwrbutton_probe error path, free_irq() was using NULL rather than the driver data as the data pointer so free_irq() wouldn't have matched. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 19 4月, 2011 1 次提交
-
-
由 Igor Mammedov 提交于
Mouse gets "stuck" after restore of PV guest but buttons are in working condition. If driver has been configured for ABS coordinates at start it will get XENKBD_TYPE_POS events and then suddenly after restore it'll start getting XENKBD_TYPE_MOTION events, that will be dropped later and they won't get into user-space. Regression was introduced by hunk 5 and 6 of 5ea5254aa0ad269cfbd2875c973ef25ab5b5e9db ("Input: xen-kbdfront - advertise either absolute or relative coordinates"). Driver on restore should ask xen for request-abs-pointer again if it is available. So restore parts that did it before 5ea5254. Acked-by: NOlaf Hering <olaf@aepfle.de> Signed-off-by: NIgor Mammedov <imammedo@redhat.com> [v1: Expanded the commit description] Signed-off-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 31 3月, 2011 2 次提交
-
-
由 Lucas De Marchi 提交于
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: NLucas De Marchi <lucas.demarchi@profusion.mobi>
-
由 Peter Hutterer 提交于
Some devices provide absolute axes with min/max of 0/0 (e.g. wacom's ABS_MISC axis). Current uinput restrictions do not allow duplication of these devices and require hacks in userspace to work around this. If the kernel accepts physical devices with a min/max of 0/0, uinput shouldn't disallow the same range. Signed-off-by: NPeter Hutterer <peter.hutterer@who-t.net> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 23 3月, 2011 2 次提交
-
-
由 Haojian Zhuang 提交于
Copy 88pm860x platform data into different mfd_data structure for onkey/touch/codec/power driver. So move the identification of device node from those drivers to mfd driver. Signed-off-by: NHaojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
由 Andres Salomon 提交于
The cell's platform_data is now accessed with a helper function; change clients to use that, and remove the now-unused data_size. Signed-off-by: NAndres Salomon <dilinger@queued.net> Acked-by: NPeter Ujfalusi <peter.ujfalusi@nokia.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
- 17 3月, 2011 1 次提交
-
-
由 Dmitry Torokhov 提交于
drivers/input is reserved for input core code and input handlers with drivers belonging to one of the sub-directories. Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 28 2月, 2011 1 次提交
-
-
由 Grant Likely 提交于
Get rid of old users of of_platform_driver in arch/sparc. Most of_platform_driver users can be converted to use the platform_bus directly. Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
-
- 21 2月, 2011 8 次提交
-
-
由 Dan Carpenter 提交于
The test here is reversed. It should be if (IS_ERR()) instead of if (!IS_ERR()). Signed-off-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Mark Brown 提交于
The adxl34x SPI driver has what appears to be a typo referring to the device as adx134x with the numeral 1 rather than letter l. This appears to be an error so convert. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Mark Brown 提交于
There is a general move to convert drivers to use dev_pm_ops rather than bus specific ones in order to facilitate core development. Do this conversion for adxl34x-spi. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Mark Brown 提交于
There is a general move to convert drivers to use dev_pm_ops rather than bus specific ones in order to facilitate core development. Do this conversion for adxl34x-i2c. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Mark Brown 提交于
There is a general move to convert drivers to use dev_pm_ops rather than bus specific PM operations in order to facilitate core work. Do this conversion for ad714x-spi. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Mark Brown 提交于
There is a general move to convert drivers to use dev_pm_ops rather than bus specific PM operations in order to facilitate core work. Do this conversion for ad714x-i2c. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: NMichael Hennerich <michael.hennerich@analog.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Instead of open-coding copying of data structures from userspace use memdup_user() and strndup_user(). Note that this introduces change in behavior because driver used to truncate 'phys' longer than 1024 bytes, but now it will refuse to set 'phys' that long. Arguably trying to set such 'phys' is suspect anyways. Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 David Herrmann 提交于
The check for non-empty device name was botched since we tried to account for extra space for the terminating zero at the same time. Convert to kstrndup() to avoid this problem. Signed-off-by: NDavid Herrmann <dh.herrmann@gmail.com> Acked-by: NAristeu Rozanski <aris@ruivo.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-