[PATCH 4/5] Staging/iio/adc/touchscreen/MXS: add interrupt driven touch detection
Marek Vasut
marex at denx.de
Fri Sep 6 08:58:25 EDT 2013
Dear Jürgen Beisert,
> On Friday 06 September 2013 14:26:11 Dan Carpenter wrote:
> > On Fri, Sep 06, 2013 at 12:08:42PM +0200, Juergen Beisert wrote:
> > > +static int mxs_lradc_read_ts_channel(struct mxs_lradc *lradc)
> > > +{
> > > + u32 reg;
> > > + int val;
> > > +
> > > + reg = readl(lradc->base + LRADC_CTRL1);
> > > +
> > > + /* only channels 3 to 5 are of interest here */
> > > + if (reg & LRADC_CTRL1_LRADC_IRQ(TS_CH_YP)) {
> > > + pr_devel("!3");
> >
> > Gar. I meant to comment on this the first time this patch was sent.
> >
> > Please remove the pr_devel() calls. They are nonsense.
>
> They are very helpful for development to monitor the statemachine... :) But
> you are right, I will remove them.
You can put them into a separate patch which can be NAK'd separatelly :)
Best regards,
Marek Vasut
More information about the linux-arm-kernel
mailing list