Thread (24 messages) 24 messages, 4 authors, 2015-02-24

Re: NULL pointer dereference in i2c-hid

From: Mika Westerberg <mika.westerberg@linux.intel.com>
Date: 2014-12-11 09:00:15
Also in: lkml

On Wed, Dec 10, 2014 at 06:04:51PM +0100, Gabriele Mazzotta wrote:
my laptop uses a touchpad that needs hid-rmi along with i2c-hid to work.
i2c-hid and hid-rmi can be loaded and unloaded independelty from each
other, however since 34f439e4afcd ("HID: i2c-hid: add runtime PM support")
if I unload hid-rmi and after it I also unload i2c-hid, I get a NULL
pointer dereference.
I'll look into this.

I can reproduce this easily with i2c-hid + hid-multitouch following your
directions.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help