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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Masaki,

On Tue, Jun 21, 2016 at 04:43:05AM +0000, Masaki Ota wrote:
> Hi, Dmitry,
> 
> > +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
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux