10 Sep, 2013

2 commits


08 Sep, 2013

1 commit


06 Sep, 2013

2 commits


04 Sep, 2013

1 commit

  • Pull hwmon updates from Guenter Roeck:
    - new driver for HTU21D (humidity sensor)
    - add support for Fam16h (Kabini) to k10temp
    - add support for NCT6102D/6106D and NCT6791D to nct6775 driver
    - add support for ADS1115 to ads1015 driver
    - add support for hibernate to w83627ehf and nct6775 drivers
    - some minor cleanups

    * tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
    hwmon: (htu21) Add Measurement Specialties HTU21D support
    hwmon: Change my email address.
    hwmon: (k10temp) Add support for Fam16h (Kabini)
    hwmon: (adt7462) ADT7462_REG_VOLT_MAX() should return 0
    hwmon: (ads1015) Add support for ADS1115
    hwmon: (w83627ehf) Add support for hibernate
    hwmon: (nct6775) Add support for hibernate
    hwmon: use dev_get_platdata()
    hwmon: (nct6775) Fix size of data->temp array
    hwmon: (nct6775) Avoid using device platform data outside probe function
    hwmon: (nct6775) Add support for NCT6791D
    hwmon: (nct6775) Add support for beep attributes
    hwmon: (nct6775) Add support for critical low/high temperature limits on NCT6106
    hwmon: (nct6775) Add support for NCT6102D/6106D
    hwmon: (nct6775) Support two SuperIO chips in the same system
    hwmon: (nct6775) Allocate attributes dynamically from templates
    hwmon: (coretemp) Atom CPUs don't support TjMax; no warning needed

    Linus Torvalds
     

01 Sep, 2013

1 commit


30 Aug, 2013

1 commit


27 Aug, 2013

3 commits


19 Aug, 2013

1 commit


12 Aug, 2013

13 commits


09 Aug, 2013

1 commit

  • In adt7470_write_word_data(), which writes two bytes using
    i2c_smbus_write_byte_data(), the return codes are incorrectly AND-ed
    together when they should be OR-ed together.

    The return code of i2c_smbus_write_byte_data() is zero for success.

    The upshot is only the first byte was ever written to the hardware.
    The 2nd byte was never written out.

    I noticed that trying to set the fan speed limits was not working
    correctly on my system. Setting the fan speed limits is the only
    code that uses adt7470_write_word_data(). After making the change
    the limit settings work and the alarms work also.

    Signed-off-by: Curt Brune
    Cc: stable@vger.kernel.org
    Signed-off-by: Guenter Roeck

    Curt Brune
     

03 Aug, 2013

1 commit


19 Jul, 2013

1 commit


15 Jul, 2013

2 commits

  • The __cpuinit type of throwaway sections might have made sense
    some time ago when RAM was more constrained, but now the savings
    do not offset the cost and complications. For example, the fix in
    commit 5e427ec2d0 ("x86: Fix bit corruption at CPU resume time")
    is a good example of the nasty type of bugs that can be created
    with improper use of the various __init prefixes.

    After a discussion on LKML[1] it was decided that cpuinit should go
    the way of devinit and be phased out. Once all the users are gone,
    we can then finally remove the macros themselves from linux/init.h.

    This removes all the drivers/hwmon uses of the __cpuinit macros
    from all C files.

    [1] https://lkml.org/lkml/2013/5/20/589

    Cc: Fenghua Yu
    Cc: lm-sensors@lm-sensors.org
    Acked-by: Guenter Roeck
    Signed-off-by: Paul Gortmaker

    Paul Gortmaker
     
  • abx500_temp_attributes is used only in this file. Make it static.

    Signed-off-by: Sachin Kamat
    Signed-off-by: Guenter Roeck

    Sachin Kamat
     

08 Jul, 2013

2 commits


04 Jul, 2013

2 commits

  • Pull hwmon updates from Guenter Roeck:
    - new driver to support GMT G762/G763 pwm fan controllers
    - add support for DS1631, DS1721, and DS1731 to ds1621 driver
    - remove detect function from ds1621 driver as unreliable
    - bug fixes in nct6775, iio_hwmon, and adm1021 drivers
    - remove redundant platform_set_drvdata in various drivers
    - add device tree support to ina2xx driver

    * tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
    hwmon: (ds1621) Fix temperature rounding operations
    hwmon: (nct6775) Drop unsupported fan alarm attributes for NCT6775
    hwmon: (nct6775) Fix temperature alarm attributes
    Add support for GMT G762/G763 PWM fan controllers
    hwmon: (ina2xx) Add device tree support to pass the shunt resistor
    hwmon: (ds1621) Update documentation
    hwmon: (ds1621) Add DS1731 chip support to ds1621 driver
    hwmon: (iio_hwmon) add alias table
    hwmon: (adm1021) Do not create min sysfs attributes for LM84
    hwmon: (ds1621) Remove detect function
    hwmon: (ds1621) Add ds1631 chip support to ds1621 driver and documentation
    hwmon: (ds1621) Add ds1721 update interval sysfs attribute
    hwmon: (ds1621) Add ds1721 chip support
    hwmon: (w83627ehf) Remove redundant platform_set_drvdata()
    hwmon: (ntc_thermistor) Remove redundant platform_set_drvdata()
    hwmon: (i5k_amb) Remove redundant platform_set_drvdata()
    hwmon: (coretemp) Remove redundant platform_set_drvdata()
    hwmon: (abituguru3) Remove redundant platform_set_drvdata()

    Linus Torvalds
     
  • Calling kthread_run with a single name parameter causes it to be handled
    as a format string. Many callers are passing potentially dynamic string
    content, so use "%s" in those cases to avoid any potential accidents.

    Signed-off-by: Kees Cook
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kees Cook
     

28 Jun, 2013

6 commits