20 Mar, 2012
5 commits
-
Some of buttons, like power-on key or onkey, may only generate interrupts
when pressed and not actually be mapped as gpio in the system. Allow
setting gpio to invalid value and specify IRQ instead to support such
keys. The debounce timer is used not to debounce but to ignore new IRQs
coming while button is kept pressed.Signed-off-by: Laxman Dewangan
Signed-off-by: Dmitry Torokhov -
Signed-off-by: Dmitry Torokhov
-
request_any_context_irq() should handle the case when using GPIO expanders
that themselves use threaded IRQs, and so the premise of change
7e2ecdf438bb479e2b4667fc16b1a84d6348da04 is incorrect.Signed-off-by: Dmitry Torokhov
-
The platform data should not be altered and therefore should be
accessed through const pointers.Signed-off-by: Dmitry Torokhov
-
We must use platform_device_add_data() instead of kbd_set_plat_data() so
let's remove it.Signed-off-by: Viresh Kumar
Signed-off-by: Dmitry Torokhov
18 Mar, 2012
1 commit
-
The driver supports chipsets ILI2102, ILI2102s, ILI2103, ILI2103s and
ILI2105. Such kind of controllers can be found in Amazon Kindle Fire
devices.Reviewed-by: Jan Paesmans
Reviewed-by: Henrik Rydberg
Signed-off-by: Olivier Sobrie
Signed-off-by: Dmitry Torokhov
17 Mar, 2012
7 commits
-
Instead of having to define the match table to NULL if CONFIG_OF isn't
set, use the of_match_ptr() macro which will do this for us.Signed-off-by: Tobias Klauser
Signed-off-by: Dmitry Torokhov -
Signed-off-by: Dmitry Torokhov
-
This patch converts the drivers in drivers/input/* to use the
module_i2c_driver() macro which makes the code smaller and a bit
simpler.Signed-off-by: Axel Lin
Signed-off-by: Dmitry Torokhov -
This patch converts the drivers in drivers/input/* to use the
module_spi_driver() macro which makes the code smaller and a bit
simpler.Signed-off-by: Axel Lin
Signed-off-by: Dmitry Torokhov -
This patch allows us to drop the OMAP dependency from the OMAP4 keypad
driver.Signed-off-by: Felipe Balbi
Signed-off-by: Sourav Poddar
Signed-off-by: Dmitry Torokhov -
Several fixes based on customer feedback:
* WHO_AM_I value has changed since preliminary parts used for initial
testing;* Output of le16_to_cpu must be saved to memory before shifting to
preserve sign;* Initial data rate was not extracted from data control register init.
This was causing the initial data rate to be set to maximum until
it was changed. To fix this problem, it made more sense to specify
initial data rate and extract the register mask from that.Signed-off-by: Chris Hudson
Signed-off-by: Dmitry Torokhov -
The MAX8997-haptic function can be used to control motor. User can
control the haptic driver by using force feedback framework.Signed-off-by: Donggeun Kim
Signed-off-by: MyungJoo Ham
Signed-off-by: Kyungmin Park
Acked-by: Samuel Ortiz
Signed-off-by: Dmitry Torokhov
14 Mar, 2012
2 commits
-
This is an incremental patch updating to the revised bindings for
matrix keyboards.This includes an optional "linux,fn-keymap" binding that is not yet
implemented, that will be used to specify the Fn-key modifier layout
if needed.Signed-off-by: Olof Johansson
Acked-by: Grant Likely
Acked-by: Stephen Warren
Signed-off-by: Dmitry Torokhov -
This adds a simple device tree binding for simple key matrix data and
a helper to fill in the platform data.Signed-off-by: Olof Johansson
Acked-by: Stephen Warren
Signed-off-by: Dmitry Torokhov
13 Mar, 2012
1 commit
-
Change 0 to NULL in the last argument of request_irq, since the argument
should have pointer type and so that the last argument of request_irq
syntactically matches the second argument of the later call to free_irq.Signed-off-by: Julia Lawall
Signed-off-by: Dmitry Torokhov
10 Mar, 2012
2 commits
07 Mar, 2012
1 commit
-
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: Haojian Zhuang
Signed-off-by: Dmitry Torokhov
06 Mar, 2012
1 commit
-
Implement suspend and resume methods to set up devices as wakeup source.
Signed-off-by: Kevin Liu
Signed-off-by: Dmitry Torokhov
05 Mar, 2012
7 commits
-
Signed-off-by: Dmitry Torokhov
-
This allows creating proper sysfs link between driver and its module.
Signed-off-by: Dmitry Torokhov
-
Since Cypress TTSP driver was merged in mainline, add a maintainer
entry for it.Signed-off-by: Javier Martinez Canillas
Signed-off-by: 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: Dan Carpenter
Signed-off-by: Dmitry Torokhov -
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: Armando Visconti
Signed-off-by: Viresh Kumar
Signed-off-by: Daniel Ritz
Signed-off-by: Dmitry Torokhov -
On-key Driver for Dialog Semiconductor DA9052/53 PMICs.
Signed-off-by: David Dajun Chen
Signed-off-by: Ashish Jangam
Signed-off-by: Dmitry Torokhov -
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: Patil, Rachna
Signed-off-by: Dmitry Torokhov
04 Mar, 2012
5 commits
-
SCSI fixes from James Bottomley:
"There's just a single fix in here: the osd max device number fix."* tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6:
[SCSI] osd_uld: Bump MAX_OSD_DEVICES from 64 to 1,048,576 -
PARISC fixes from James Bottomley:
"This is a set of build fixes to get the cross compiled architecture
testbeds building again"* tag 'parisc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/parisc-2.6:
[PARISC] don't unconditionally override CROSS_COMPILE for 64 bit.
[PARISC] include in drivers/parisc/iommu-helpers.h
[PARISC] fix compile break caused by iomap: make IOPORT/PCI mapping functions conditional -
* 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
perf/x86/kvm: Fix Host-Only/Guest-Only counting with SVM disabled -
Pull from Herbert Xu:
"This push fixes a bug in mv_cesa that causes all hash operations
that supply data on a final operation to fail."* git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
crypto: mv_cesa - fix final callback not ignoring input data
03 Mar, 2012
8 commits
-
Commit 5707c87f "vfs: uninline full_name_hash()" broke the modular
build, because it needs exporting now that it isn't inlined any more.Reported-by: Tetsuo Handa
Signed-off-by: Linus Torvalds -
hhwmon fixes for 3.3-rc6 from Guenter Roeck:
These patches are necessary for correct operation and management of
F75387.* tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
hwmon: (f75375s) Catch some attempts to write to r/o registers
hwmon: (f75375s) Properly map the F75387 automatic modes to pwm_enable
hwmon: (f75375s) Make pwm*_mode writable for the F75387
hwmon: (f75375s) Fix writes to the pwm* attribute for the F75387 -
fbdev fixes for 3.3 from Florian Tobias Schandinat
It includes:
- two fixes for OMAP HDMI
- one fix to make new OMAP functions behave as they are supposed to
- one Kconfig dependency fix
- two fixes for viafb for modesetting on VX900 hardware* tag 'fbdev-fixes-for-3.3-2' of git://github.com/schandinat/linux-2.6:
OMAPDSS: APPLY: make ovl_enable/disable synchronous
OMAPDSS: panel-dvi: Add Kconfig dependency on I2C
viafb: fix IGA1 modesetting on VX900
viafb: select HW scaling on VX900 for IGA2
OMAPDSS: HDMI: hot plug detect fix
OMAPDSS: HACK: Ensure DSS clock domain gets out of idle when HDMI is enabled -
sound fixes for 3.3-rc6 from Takashi Iwai
This contains again regression fixes for various HD-audio and ASoC
regarding SSI and dapm shutdown path. In addition, a minor azt3328
fix and the correction of the new jack-notification strings in HD-audio.* tag 'sound-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
ALSA: hda - Kill hyphenated names
ALSA: hda - Add a fake mute feature
ALSA: hda - Always set HP pin in unsol handler for STAC/IDT codecs
ALSA: azt3328 - Fix NULL ptr dereference on cards without OPL3
ALSA: hda/realtek - Fix resume of multiple input sources
ASoC: i.MX SSI: Fix DSP_A format.
ASoC: dapm: Check for bias level when powering down -
The code in link_path_walk() that finds out the length and the hash of
the next path component is some of the hottest code in the kernel. And
I have a version of it that does things at the full width of the CPU
wordsize at a time, but that means that we *really* want to split it up
into a separate helper function.So this re-organizes the code a bit and splits the hashing part into a
helper function called "hash_name()". It returns the length of the
pathname component, while at the same time computing and writing the
hash to the appropriate location.The code generation is slightly changed by this patch, but generally for
the better - and the added abstraction actually makes the code easier to
read too. And the new interface is well suited for replacing just the
"hash_name()" function with alternative implementations.Signed-off-by: Linus Torvalds
-
It did some odd things for unclear reasons. As this is one of the
functions that gets changed when doing word-at-a-time compares, this is
yet another of the "don't change any semantics, but clean things up so
that subsequent patches don't get obscured by the cleanups".Signed-off-by: Linus Torvalds
-
.. and also use it in lookup_one_len() rather than open-coding it.
There aren't any performance-critical users, so inlining it is silly.
But it wouldn't matter if it wasn't for the fact that the word-at-a-time
dentry name patches want to conditionally replace the function, and
uninlining it sets the stage for that.So again, this is a preparatory patch that doesn't change any semantics,
and only prepares for a much cleaner and testable word-at-a-time dentry
name accessor patch.Signed-off-by: Linus Torvalds
-
These don't change any semantics, but they clean up the code a bit and
mark some arguments appropriately 'const'.They came up as I was doing the word-at-a-time dcache name accessor
code, and cleaning this up now allows me to send out a smaller relevant
interesting patch for the experimental stuff.Signed-off-by: Linus Torvalds