18 Feb, 2014

1 commit

  • The driver was not able to manage the sensor: during probe function
    and wai check, the driver stops and writes: "device name and WhoAmI mismatch."
    The correct value of L3GD20H wai is 0xd7 instead of 0xd4.
    Dropped support for the sensor.

    Signed-off-by: Denis Ciocca
    Cc: stable@vger.kernel.org
    Signed-off-by: Jonathan Cameron

    Denis CIOCCA
     

03 Dec, 2013

1 commit


25 Nov, 2013

2 commits


06 Nov, 2013

1 commit

  • A number of Properties that can be applied to Data Fields are per data
    field basis or for all data fields. Adding sensitivity field for all
    gyro fields, which is most commonly used in currently available
    sensor hubs.

    Signed-off-by: Srinivas Pandruvada
    Signed-off-by: Jonathan Cameron

    Srinivas Pandruvada
     

03 Nov, 2013

1 commit

  • We can't store the trigger instance created by iio_trigger_alloc, in
    trig field of iio_device structure. This needs to be stored in the
    driver private data. Othewise it can result in crash during module
    unload. Hence created a trig_ptr in the common data structure
    for each HID sensor IIO driver and storing here.

    Signed-off-by: Srinivas Pandruvada
    Signed-off-by: Jonathan Cameron

    Srinivas Pandruvada
     

17 Oct, 2013

1 commit


05 Oct, 2013

3 commits


22 Sep, 2013

3 commits


16 Sep, 2013

1 commit


14 Sep, 2013

3 commits


20 Aug, 2013

1 commit


17 Aug, 2013

8 commits


04 Aug, 2013

5 commits


12 Jun, 2013

1 commit


06 Jun, 2013

1 commit

  • …nd added support on one-shot sysfs reads to 3 byte channel

    This patch introduce num_data_channels variable on st_sensors struct
    to manage different type of channels (size or number) in
    st_sensors_get_buffer_element function.
    Removed ST_SENSORS_NUMBER_DATA_CHANNELS and ST_SENSORS_BYTE_FOR_CHANNEL
    and used struct iio_chan_spec const *ch to catch data.
    Added 3 byte channel data support on one-shot reads.

    Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
    Signed-off-by: Jonathan Cameron <jic23@kernel.org>

    Denis CIOCCA
     

05 Jun, 2013

1 commit


23 May, 2013

1 commit

  • Drivers for STMicroelectronics accelerometers, gyroscopes, and
    magnetometers were added in v3.9. They all have a (similar) select
    statement in their Kconfig files for a non-existant Kconfig symbol.
    These select statements can safely be removed.

    Signed-off-by: Paul Bolle
    Acked-by: Denis Ciocca
    Signed-off-by: Jonathan Cameron

    Paul Bolle
     

26 Mar, 2013

1 commit

  • Introduce iio_tigger_{set,get}_drvdata which allows to attach driver specific
    data to a trigger. The functions wrap access to the triggers private_data field
    and all current users are updated to use iio_tigger_{set,get}_drvdata instead of
    directly accessing the private_data field. This is the first step towards
    removing the private_data field from the iio_trigger struct.

    The following coccinelle script has been used to update the drivers:

    @@
    struct iio_trigger *trigger;
    expression priv;
    @@
    -trigger->private_data = priv
    +iio_trigger_set_drv_data(trigger, priv)

    @@
    struct iio_trigger *trigger;
    @@
    -trigger->private_data
    +iio_trigger_get_drv_data(trigger)

    Signed-off-by: Lars-Peter Clausen
    Signed-off-by: Jonathan Cameron

    Lars-Peter Clausen
     

18 Mar, 2013

4 commits