RE: [PATCH v1 3/7] input: cyapa: add proximity function support for gen5 and gen6 modules

2015-07-20 Thread Dudley Du
...@euromail.se; > ble...@google.com; jmmah...@gmail.com; devicet...@vger.kernel.org; > linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v1 3/7] input: cyapa: add proximity function support for > gen5 > and gen6 modules > > Hi Dudley, > > On Mon

Re: [PATCH v1 3/7] input: cyapa: add proximity function support for gen5 and gen6 modules

2015-07-20 Thread Dmitry Torokhov
Hi Dudley, On Mon, Jun 15, 2015 at 05:01:33PM +0800, Dudley Du wrote: > > +static void cyapa_pip_report_proximity(struct cyapa *cyapa, > + const struct cyapa_pip_report_data *report_data) > +{ > + struct input_dev *input = cyapa->input; > + u8 distance = report_data->report_h