lkml.org 
[lkml]   [2009]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 01/10] LIS3LV02D: Send sync event
    Op 10-11-09 13:41, Samu Onkalo schreef:
    > Send input_sync after each measurement round. This helps userspace to
    > detect which reported values belongs to the same measurement.
    >
    > Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
    Acked-by: Éric Piel <eric.piel@tremplin-utc.net>

    > ---
    > drivers/hwmon/lis3lv02d.c | 1 +
    > 1 files changed, 1 insertions(+), 0 deletions(-)
    >
    > diff --git a/drivers/hwmon/lis3lv02d.c b/drivers/hwmon/lis3lv02d.c
    > index cf5afb9..7f43a3b 100644
    > --- a/drivers/hwmon/lis3lv02d.c
    > +++ b/drivers/hwmon/lis3lv02d.c
    > @@ -276,6 +276,7 @@ static void lis3lv02d_joystick_poll(struct input_polled_dev *pidev)
    > input_report_abs(pidev->input, ABS_X, x - lis3_dev.xcalib);
    > input_report_abs(pidev->input, ABS_Y, y - lis3_dev.ycalib);
    > input_report_abs(pidev->input, ABS_Z, z - lis3_dev.zcalib);
    > + input_sync(pidev->input);
    > }
    >
    >

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2009-11-15 16:51    [W:2.849 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site