31 May, 2019

1 commit

  • Based on 3 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version [author] [kishon] [vijay] [abraham]
    [i] [kishon]@[ti] [com] this program is distributed in the hope that
    it will be useful but without any warranty without even the implied
    warranty of merchantability or fitness for a particular purpose see
    the gnu general public license for more details

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version [author] [graeme] [gregory]
    [gg]@[slimlogic] [co] [uk] [author] [kishon] [vijay] [abraham] [i]
    [kishon]@[ti] [com] [based] [on] [twl6030]_[usb] [c] [author] [hema]
    [hk] [hemahk]@[ti] [com] this program is distributed in the hope
    that it will be useful but without any warranty without even the
    implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 1105 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Richard Fontana
    Reviewed-by: Kate Stewart
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190527070033.202006027@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

19 Feb, 2019

1 commit

  • Use SENSOR[_DEVICE]_ATTR[_2]_{RO,RW,WO} to simplify the source code,
    to improve readability, and to reduce the chance of inconsistencies.

    Also replace any remaining S_ in the driver with octal values.

    The conversion was done automatically with coccinelle. The semantic patches
    and the scripts used to generate this commit log are available at
    https://github.com/groeck/coccinelle-patches/hwmon/.

    This patch does not introduce functional changes. It was verified by
    compiling the old and new files and comparing text and data sizes.

    Signed-off-by: Guenter Roeck

    Guenter Roeck
     

13 Jan, 2018

1 commit

  • An sht3x sensor include limits register which contains temperature
    and humidity limit values. After a reset, pre-defined values are loaded
    into that register. During the probe function, the driver reads the
    limits register. However, if the reads are made too early, and the bus
    is clocked at high frequencies (e.g. 100 kHz or more), the loading could be
    not completed and the sensor returns a NACK which causes the probe to fail.
    A delay of at least 500 us before the first read solves this issue.

    Signed-off-by: Emiliano Ingrassia
    Signed-off-by: Guenter Roeck

    Emiliano Ingrassia
     

01 Aug, 2016

1 commit

  • Handling the wraparound requires the data->last_update to be set to an
    initial jiffies value. Otherwise on 32-bit systems you will not be able
    to request a reading till the 5 minute jiffies rollover happens.

    Cc: Guenter Roeck
    Cc: David Frey
    Signed-off-by: Matt Ranostay
    Reviewed-by: Jean Delvare
    Fixes: 7c84f7f80d6fc ("hwmon: add support for Sensirion SHT3x sensors")
    Signed-off-by: Guenter Roeck

    Matt Ranostay
     

16 Jul, 2016

1 commit


28 Jun, 2016

1 commit

  • This driver implements support for the Sensirion SHT3x-DIS chip,
    a humidity and temperature sensor. Temperature is measured
    in degrees celsius, relative humidity is expressed as a percentage.
    In the sysfs interface, all values are scaled by 1000,
    i.e. the value for 31.5 degrees celsius is 31500.

    Signed-off-by: Pascal Sachs
    [groeck: Fixed 'Variable length array is used' gcc warning]
    Signed-off-by: Guenter Roeck

    David Frey