- Jul 20, 2011
-
-
Dan Carpenter authored
According to the comments we want to call mutex_lock() here instead of mutex_unlock(). That makes more sense. Signed-off-by:
Dan Carpenter <error27@gmail.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Dan Carpenter authored
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:
Dan Carpenter <error27@gmail.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- Jul 07, 2011
-
-
Peter Ujfalusi authored
The twl6040_request_irq/free_irq inline functions are going to be removed, so replace them with direct calls. The irq number is provided by the core driver via resource. Signed-off-by:
Peter Ujfalusi <peter.ujfalusi@ti.com> Reviewed-by:
Felipe Balbi <balbi@ti.com> Acked-by:
Dmitry Torokhov <dtor@mail.ru>
-
- Jul 06, 2011
-
-
Chris Hudson authored
Signed-off-by:
Chris Hudson <chudson@kionix.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- Jul 05, 2011
-
-
Samuel Ortiz authored
mfd_get_data() has been removed from the MFD API. Cc: Anirudh Ghayal <aghayal@codeaurora.org> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
- Jul 04, 2011
-
-
Stefano Stabellini authored
Signed-off-by:
Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by:
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Misael Lopez Cruz authored
Add twl6040_vibra as a child of MFD device twl6040_codec. This implementation covers the PCM-to-PWM mode of TWL6040 vibrator module. Signed-off-by:
Misael Lopez Cruz <misael.lopez@ti.com> Signed-off-by:
Peter Ujfalusi <peter.ujfalusi@ti.com> CC: Tejun Heo <tj@kernel.org> Acked-by:
Dmitry Torokhov <dtor@mail.ru>
-
Peter Ujfalusi authored
Allign the platform data names for twl4030 audio submodule: twl4030_audio_data: for the core MFD driver twl4030_codec_data: for ASoC codec driver twl4030_vibra_data: for the input/ForceFeedback driver To avoid breakage, change all depending drivers, files to use the new types. Signed-off-by:
Peter Ujfalusi <peter.ujfalusi@ti.com> Acked-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Peter Ujfalusi authored
Rename the driver, and header file from twl4030-codec to twl4030-audio. To avoid breakage change depending drivers at the same time. Signed-off-by:
Peter Ujfalusi <peter.ujfalusi@ti.com> CC: Misael Lopez Cruz <misael.lopez@ti.com> Acked-by:
Samuel Ortiz <sameo@linux.intel.com>
-
- Jun 29, 2011
-
-
Joseph Lai authored
This driver is registered as an input device. An IRQ is required in this basic driver configuration. Signed-off-by:
Joseph Lai <joseph_lai@wistron.com> [Cleaned up PM_RUNTIME defines] Signed-off-by:
Alan Cox <alan@linux.intel.com> [dtor@mail.ru: consolidated PM methods, some code rearrangement] Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- Jun 27, 2011
-
-
Jesper Juhl authored
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:
Jesper Juhl <jj@chaosbits.net> Acked-by:
Mike Frysinger <vapier@gentoo.org> Acked-by:
Michael Hennerich <michael.hennerich@analog.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- Jun 22, 2011
-
-
Eric Miao authored
Signed-off-by:
Sammy He <r62914@freescale.com> Signed-off-by:
Eric Miao <eric.miao@linaro.org> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- Jun 09, 2011
-
-
Ralf Baechle authored
Signed-off-by:
Ralf Baechle <ralf@linux-mips.org> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: linux-input@vger.kernel.org Link: http://lkml.kernel.org/r/20110601180610.453577265@duck.linux-mips.net Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
Ralf Baechle authored
Signed-off-by:
Ralf Baechle <ralf@linux-mips.org> Cc: linux-mips@linux-mips.org Link: http://lkml.kernel.org/r/20110601180610.054254048@duck.linux-mips.net Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> arch/arm/mach-footbridge/isa-timer.c | 2 +- arch/mips/cobalt/time.c | 2 +- arch/mips/jazz/irq.c | 2 +- arch/mips/kernel/i8253.c | 2 +- arch/mips/mti-malta/malta-time.c | 2 +- arch/mips/sgi-ip22/ip22-time.c | 2 +- arch/mips/sni/time.c | 2 +- arch/x86/kernel/apic/apic.c | 2 +- arch/x86/kernel/apm_32.c | 2 +- arch/x86/kernel/hpet.c | 2 +- arch/x86/kernel/i8253.c | 2 +- arch/x86/kernel/time.c | 2 +- drivers/block/hd.c | 2 +- drivers/clocksource/i8253.c | 2 +- drivers/input/gameport/gameport.c | 2 +- drivers/input/joystick/analog.c | 2 +- drivers/input/misc/pcspkr.c | 2 +- include/linux/i8253.h | 11 +++++++++++ sound/drivers/pcsp/pcsp.h | 2 +- 19 files changed, 29 insertions(+), 18 deletions(-)
-
- May 26, 2011
-
-
Trilok Soni authored
Add support for PMIC8XXX power key driven over dedicated KYPD_PWR_N pin. Acked-by:
Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by:
Trilok Soni <tsoni@codeaurora.org> Signed-off-by:
Anirudh Ghayal <aghayal@codeaurora.org> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Samuel Ortiz authored
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:
Samuel Ortiz <sameo@linux.intel.com>
-
- May 17, 2011
-
-
Michael Hennerich authored
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:
Michael Hennerich <michael.hennerich@analog.com> Tested-by:
Jean-Francois Dagenais <jeff.dagenais@gmail.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Michael Hennerich authored
Add option to specify irqflags in platfrom data. Also update copyright notice. Signed-off-by:
Michael Hennerich <michael.hennerich@analog.com> Tested-by:
Jean-Francois Dagenais <jeff.dagenais@gmail.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Michael Hennerich authored
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:
Michael Hennerich <michael.hennerich@analog.com> Tested-by:
Jean-Francois Dagenais <jeff.dagenais@gmail.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Michael Hennerich authored
Add missing input name and set up parent devices so input devices will show in proper places in sysfs tree. Signed-off-by:
Michael Hennerich <michael.hennerich@analog.com> Tested-by:
Jean-Francois Dagenais <jeff.dagenais@gmail.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- May 12, 2011
-
-
Johan Hovold authored
Add support for encoders that have two detents per input signal period. Signed-off-by:
Johan Hovold <jhovold@gmail.com> Acked-by:
Daniel Mack <zonque@gmail.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- May 11, 2011
-
-
Johan Hovold authored
Refactor state retrieval and event reporting in interrupt handler. Remove a few empty lines. Signed-off-by:
Johan Hovold <jhovold@gmail.com> Reviewed-by:
H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by:
Daniel Mack <zonque@gmail.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- May 05, 2011
-
-
Ville Syrjala authored
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:
Ville Syrjala <syrjala@sci.fi> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- Apr 28, 2011
-
-
Axel Lin authored
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:
Axel Lin <axel.lin@gmail.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- Apr 18, 2011
-
-
Igor Mammedov authored
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 5ea5254a ("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 5ea5254a. Acked-by:
Olaf Hering <olaf@aepfle.de> Signed-off-by:
Igor Mammedov <imammedo@redhat.com> [v1: Expanded the commit description] Signed-off-by:
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- Mar 31, 2011
-
-
Lucas De Marchi authored
Fixes generated by 'codespell' and manually reviewed. Signed-off-by:
Lucas De Marchi <lucas.demarchi@profusion.mobi>
-
Peter Hutterer authored
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:
Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- Mar 23, 2011
-
-
Haojian Zhuang authored
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:
Haojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Andres Salomon authored
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:
Andres Salomon <dilinger@queued.net> Acked-by:
Peter Ujfalusi <peter.ujfalusi@nokia.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
- Mar 17, 2011
-
-
Dmitry Torokhov authored
drivers/input is reserved for input core code and input handlers with drivers belonging to one of the sub-directories. Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- Feb 28, 2011
-
-
Grant Likely authored
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:
Grant Likely <grant.likely@secretlab.ca>
-
- Feb 21, 2011
-
-
Dan Carpenter authored
The test here is reversed. It should be if (IS_ERR()) instead of if (!IS_ERR()). Signed-off-by:
Dan Carpenter <error27@gmail.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Mark Brown authored
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:
Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by:
Michael Hennerich <michael.hennerich@analog.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Mark Brown authored
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:
Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by:
Michael Hennerich <michael.hennerich@analog.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Mark Brown authored
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:
Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by:
Michael Hennerich <michael.hennerich@analog.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Mark Brown authored
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:
Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by:
Michael Hennerich <michael.hennerich@analog.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Mark Brown authored
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:
Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by:
Michael Hennerich <michael.hennerich@analog.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Dmitry Torokhov authored
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:
Dmitry Torokhov <dtor@mail.ru>
-
David Herrmann authored
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:
David Herrmann <dh.herrmann@gmail.com> Acked-by:
Aristeu Rozanski <aris@ruivo.org> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- Feb 06, 2011
-
-
Ben Hutchings authored
FREQ is a ridiculously short name for a platform-specific macro in a generic header, and it now conflicts with an enumeration in the gspca/ov519 driver. Also delete conditional reference to ixp4xx_get_board_tick_rate() which is not defined anywhere. Signed-off-by:
Ben Hutchings <ben@decadent.org.uk> Signed-off-by:
Krzysztof Hałasa <khc@pm.waw.pl>
-