lkml.org 
[lkml]   [2014]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFCv2 5/5] mfd: twl4030-madc: Move driver to drivers/iio/adc
    From
    Date
    On Sun, 2014-02-23 at 23:07 +0100, Sebastian Reichel wrote:
    > This is a driver for an A/D converter, which belongs into
    > drivers/iio/adc.

    Please use git format-patch -M

    > diff --git a/drivers/iio/adc/twl4030-madc.c b/drivers/iio/adc/twl4030-madc.c
    []
    > +static int twl4030_madc_read(struct iio_dev *iio_dev,
    > + const struct iio_chan_spec *chan,
    > + int *val, int *val2, long mask)
    > +{
    []
    > + req.do_avg = !!(mask & IIO_CHAN_INFO_AVERAGE_RAW);

    It looks like do_avg should be bool not u16




    \
     
     \ /
      Last update: 2014-02-23 23:41    [W:4.959 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site