linux-uconsole/drivers/mfd
Jochen Friedrich ba7c5cae3c mfd: Fix NULL pointer due to non-initialized ucb1x00-ts absinfo
commit 9063f1f15e upstream.

Call input_set_abs_params instead of manually setting absbit only.
This fixes this oops:

Unable to handle kernel NULL pointer dereference at virtual address 00000024
Internal error: Oops: 41b67017 [#1]
CPU: 0    Not tainted  (2.6.37 #4)
pc : [<c016d1fc>]    lr : [<00000000>]    psr: 20000093
sp : c19e5f30  ip : c19e5e6c  fp : c19e5f58
r10: 00000000  r9 : c19e4000  r8 : 00000003
r7 : 000001e4  r6 : 00000001  r5 : c1854400  r4 : 00000003
r3 : 00000018  r2 : 00000018  r1 : 00000018  r0 : c185447c
Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: c1b6717f  Table: c1b6717f  DAC: 00000017
Stack: (0xc19e5f30 to 0xc19e6000)
5f20:                                     00000003 00000003 c1854400 00000013
5f40: 00000001 000001e4 000001c5 c19e5f80 c19e5f5c c016d5e8 c016cf5c 000001e4
5f60: c1854400 c18b5860 00000000 00000171 000001e4 c19e5fc4 c19e5f84 c01559a4
5f80: c016d584 c18b5868 00000000 c1bb5c40 c0035afc c18b5868 c18b5868 c1a55d54
5fa0: c18b5860 c0155750 00000013 00000000 00000000 00000000 c19e5ff4 c19e5fc8
5fc0: c0050174 c015575c 00000000 c18b5860 00000000 c19e5fd4 c19e5fd4 c1a55d54
5fe0: c00500f0 c003b464 00000000 c19e5ff8 c003b464 c00500fc 04000400 04000400
Backtrace:
Function entered at [<c016cf50>] from [<c016d5e8>]
Function entered at [<c016d578>] from [<c01559a4>]
 r8:000001e4 r7:00000171 r6:00000000 r5:c18b5860 r4:c1854400
Function entered at [<c0155750>] from [<c0050174>]
Function entered at [<c00500f0>] from [<c003b464>]
 r6:c003b464 r5:c00500f0 r4:c1a55d54
Code: e59520fc e1a03286 e0433186 e0822003 (e592000c)

>>PC;  c016d1fc <input_handle_event+2ac/5a0>   <=====

Trace; c016cf50 <input_handle_event+0/5a0>
Trace; c016d5e8 <input_event+70/88>
Trace; c016d578 <input_event+0/88>
Trace; c01559a4 <ucb1x00_thread+254/2dc>
Trace; c0155750 <ucb1x00_thread+0/2dc>
Trace; c0050174 <kthread+84/8c>
Trace; c00500f0 <kthread+0/8c>
Trace; c003b464 <do_exit+0/624>

Signed-off-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-07 15:17:53 -08:00
..
ab3100-core.c mfd: AB3100 drop unused module parameters 2009-10-04 22:53:44 +02:00
ab3100-otp.c mfd: AB3100 OTP readout 2009-09-17 09:47:21 +02:00
asic3.c mfd: asic3: enable SD/SDIO cell 2009-06-17 19:41:50 +02:00
da903x.c mfd: early init for MFD running regulators 2009-06-17 19:41:54 +02:00
dm355evm_msp.c mfd: Correct ro and cd implemantion on DM355 2009-09-17 09:46:54 +02:00
ezx-pcap.c spi: prefix modalias with "spi:" 2009-09-23 07:39:43 -07:00
htc-egpio.c mfd: fix htc-egpio iomem resource handling using resource_size 2009-02-17 09:00:14 +01:00
htc-pasic3.c mfd: remove driver_data direct access of struct device 2009-06-15 21:30:27 -07:00
Kconfig mfd: Add support for TWL4030/5030 dynamic power switching 2009-09-17 09:47:22 +02:00
Makefile mfd: Add support for TWL4030/5030 dynamic power switching 2009-09-17 09:47:22 +02:00
mc13783-core.c mfd: Add Freescale MC13783 driver 2009-09-17 09:47:19 +02:00
mcp-core.c mfd: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:23 -07:00
mcp-sa11x0.c [ARM] Hide ISA DMA API when ISA_DMA_API is unset 2008-11-29 18:42:40 +00:00
mcp.h
menelaus.c mfd: move drivers/i2c/chips/menelaus.c to drivers/mfd 2009-01-04 12:17:44 +01:00
mfd-core.c mfd: Allow multiple MFD cells with the same name 2009-09-17 09:46:56 +02:00
pcf50633-adc.c mfd: revise locking for pcf50633 ADC 2009-09-17 09:46:53 +02:00
pcf50633-core.c mfd: use a dedicated workqueue for pcf50633 irq processing 2009-09-17 09:46:53 +02:00
pcf50633-gpio.c mfd/pcf50633-gpio.c: add MODULE_LICENSE 2009-06-17 19:41:30 +02:00
sm501.c mfd: sm501, fix lock imbalance 2009-07-03 11:54:50 +02:00
t7l66xb.c mfd: fix tmio related warnings 2009-06-17 19:41:52 +02:00
tc6387xb.c mfd: fix tmio related warnings 2009-06-17 19:41:52 +02:00
tc6393xb.c mfd: fix tmio related warnings 2009-06-17 19:41:52 +02:00
tps65010.c mfd: move drivers/i2c/chips/tps65010.c to drivers/mfd 2009-01-04 12:17:43 +01:00
twl4030-core.c mfd: Do not dereference null pointer in twl4030 error path 2009-10-27 00:20:33 +01:00
twl4030-irq.c mfd: remove unnecessary semicolons from twl4030 2009-09-17 09:46:48 +02:00
twl4030-power.c mfd: Fix twl4030-power warnings 2009-09-17 09:47:27 +02:00
ucb1x00-assabet.c [ARM] Hide ISA DMA API when ISA_DMA_API is unset 2008-11-29 18:42:40 +00:00
ucb1x00-core.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
ucb1x00-ts.c mfd: Fix NULL pointer due to non-initialized ucb1x00-ts absinfo 2011-03-07 15:17:53 -08:00
ucb1x00.h
ucb1400_core.c headers: remove sched.h from poll.h 2009-10-04 15:05:10 -07:00
wm831x-core.c mfd: Correct WM831X_MAX_ISEL_VALUE 2009-12-01 11:24:19 +01:00
wm831x-irq.c mfd: Always initialise WM831x IRQ mutex 2009-10-27 00:20:32 +01:00
wm831x-otp.c mfd: Add basic WM831x OTP support 2009-09-17 09:46:59 +02:00
wm8350-core.c mfd: WM835x GPIO direction register is not locked 2010-01-22 15:18:18 -08:00
wm8350-gpio.c mfd: Add GPIO pin configuration support for WM8350 2008-10-13 21:51:55 +01:00
wm8350-i2c.c mfd: Add WM8351 support 2009-01-04 12:17:42 +01:00
wm8350-regmap.c mfd: Mark WM8350 mask revision as readable to match silicon 2009-06-17 19:41:29 +02:00
wm8400-core.c mfd: early init for MFD running regulators 2009-06-17 19:41:54 +02:00