Thread (8 messages) 8 messages, 4 authors, 2016-06-21

Re: [PATCH] Alps I2C HID Touchpad-Stick support

flat view

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2016-06-21 06:38:49

Hi Masaki,

On Tue, Jun 21, 2016 at 04:43:05AM +0000, Masaki Ota wrote:
Hi, Dmitry,
quoted
+struct u1_dev *priv;
I do not understand why you need this global. You can allocate arbitrary memory in probe() and you actually already do that, why do you need second copy?

Yes, actually I don't want to use global, but I want to use it in alps_raw_event() for StickPointer.
Do you have any idea?
What is wrong with using input2 pointer in hdata (provided you set it up
properly when probing the device)?

Thanks.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help