Re: [PATCH v2 1/3] Input: ili210x - use resolution from ili251x firmware

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

 



On Tue, Aug 31, 2021 at 01:31:06AM +0200, Marek Vasut wrote:
> On 8/31/21 1:21 AM, Dmitry Torokhov wrote:
> > On Tue, Aug 31, 2021 at 12:49:49AM +0200, Marek Vasut wrote:
> > > On 8/30/21 10:55 PM, Dmitry Torokhov wrote:
> > > 
> > > [...]
> > > 
> > > > > +		return -EINVAL;
> > > > > +
> > > > > +	priv->input->absinfo[ABS_X].maximum = resx - 1;
> > > > > +	priv->input->absinfo[ABS_Y].maximum = resy - 1;
> > > > > +	priv->input->absinfo[ABS_MT_POSITION_X].maximum = resx - 1;
> > > > > +	priv->input->absinfo[ABS_MT_POSITION_Y].maximum = resy - 1;
> > > > 
> > > > There is
> > > > 
> > > > 	input_set_abs_max(priv->input, ABS_X, resx - 1);
> > > 
> > > git grep finds nothing in linux-next / your tree on k.org / patchwork. Where
> > > is that ?
> > 
> > Look for INPUT_GENERATE_ABS_ACCESSORS in include/linux/input.h
> 
> Oh, input_abs_set_max, thanks.

Ah, sorry, mistyped the name first time around.

-- 
Dmitry



[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