27 Feb, 2011

2 commits


19 Feb, 2011

1 commit

  • The interface is identical EMC6D102, so all that needs to be added are
    some definitions and their uses.

    Registers apparently missing in EMC6D103S/EMC6D103:A2 compared to EMC6D103:A0,
    EMC6D103:A1, and EMC6D102 (according to the data sheets), but used
    unconditionally in the driver: 62[5:7], 6D[0:7], and 6E[0:7]. For that
    reason, EMC6D103S chips don't get enabled for the time being.

    Signed-off-by: Jan Beulich
    (Guenter Roeck: Replaced EMC6D103_A2 with EMC6D103S per EMC6D103S datasheet)
    Signed-off-by: Guenter Roeck
    Cc: stable@kernel.org

    Jan Beulich
     

18 Feb, 2011

1 commit


17 Feb, 2011

3 commits

  • On systems where the temperature sensor is actually used, the BIOS is
    likely to have locked the alarm registers. In that case, all writes
    through the corresponding sysfs files would be silently ignored.

    To prevent this, detect the locks and make the affected sysfs files
    read-only.

    Signed-off-by: Clemens Ladisch
    Cc: stable@kernel.org
    Signed-off-by: Guenter Roeck

    Clemens Ladisch
     
  • The documentation lists standard numbers and chip names in excruciating
    detail, but that's all it does. To help mere mortals in deciding
    whether to enable this driver, mention what this sensor is for and in
    which systems it might be found.

    Also add a link to the actual JC 42.4 specification.

    Signed-off-by: Clemens Ladisch
    Cc: stable@kernel.org
    Signed-off-by: Guenter Roeck

    Clemens Ladisch
     
  • In set_temp_crit_hyst(), make the variable 'val' have the correct
    type for strict_strtoul().

    Signed-off-by: Clemens Ladisch
    Cc: stable@kernel.org
    Signed-off-by: Guenter Roeck

    Clemens Ladisch
     

10 Feb, 2011

2 commits


26 Jan, 2011

1 commit


24 Jan, 2011

2 commits


19 Jan, 2011

1 commit


13 Jan, 2011

16 commits

  • Minor cleanups. Mostly removing assignments in if statements to get
    rid of checkpatch errors.

    Signed-off-by: Juerg Haefliger
    Signed-off-by: Jean Delvare

    Juerg Haefliger
     
  • Add support for the 1.5V voltage monitoring input (in7) of the
    SMSC SCH5127 chip.

    Signed-off-by: Juerg Haefliger
    Signed-off-by: Jean Delvare

    Juerg Haefliger
     
  • EMC1423 uses the similar register and adds a hardware shutdown pin to
    protect exceed temperature. This function is set by resistor; it's not
    necessary to do anything in the driver except add the emc1423 pid of 0x23.

    Signed-off-by: Jekyll Lai
    [Updated Kconfig/comments and minor further changes asked for by the hwmon
    maintainers]
    Signed-off-by: Alan Cox
    [Fixed checkpatch warning]
    Signed-of--by: Jean Delvare

    Jekyll Lai
     
  • This is the same case as fschmd, from which the code was copied as far
    as I can see. So the same clean-up applies:

    The WDIOC_GETSUPPORT ioctl only needs a mutex because it operates on a
    static variable. There is no good reason to keep this variable static,
    so let's just make it non-static and drop the now useless mutex
    altogether.

    See the discussion at:
    http://marc.info/?l=lm-sensors&m=125563869402323&w=2

    Signed-off-by: Jean Delvare
    Cc: Hans de Goede
    Acked-by: Guenter Roeck
    Acked-by: Arnd Bergmann
    Acked-by: Thomas Gleixner

    Jean Delvare
     
  • As discussed one year ago, the WDIOC_GETSUPPORT ioctl only needs a
    mutex because it operates on a static variable. There is no good
    reason to keep this variable static, so let's just make it non-static
    and drop the now useless mutex altogether.

    See the discussion at:
    http://marc.info/?l=lm-sensors&m=125563869402323&w=2

    Signed-off-by: Jean Delvare
    Cc: Hans de Goede
    Acked-by: Guenter Roeck
    Acked-by: Arnd Bergmann
    Acked-by: Thomas Gleixner

    Jean Delvare
     
  • Added #define pr_fmt KBUILD_MODNAME ": " fmt
    Converted printks to pr_
    Coalesced any long formats
    Removed prefixes from formats

    [JD: Optimize repeated debug messages]

    Signed-off-by: Joe Perches
    Signed-off-by: Jean Delvare

    Joe Perches
     
  • Added #define pr_fmt KBUILD_MODNAME ": " fmt
    Converted printks to pr_
    Coalesced any long formats
    Removed prefixes from formats

    Signed-off-by: Joe Perches
    Signed-off-by: Jean Delvare

    Joe Perches
     
  • Added #define pr_fmt KBUILD_MODNAME ": " fmt
    Converted printks to pr_
    Coalesced any long formats
    Removed prefixes from formats

    [JD: Also convert debug messages]

    Signed-off-by: Joe Perches
    Signed-off-by: Jean Delvare

    Joe Perches
     
  • Added #define pr_fmt KBUILD_MODNAME ": " fmt
    Converted printks to pr_
    Coalesced any long formats
    Removed prefixes from formats

    Signed-off-by: Joe Perches
    Signed-off-by: Jean Delvare

    Joe Perches
     
  • Added #define pr_fmt KBUILD_MODNAME ": " fmt
    Converted printks to pr_
    Coalesced any long formats
    Removed prefixes from formats

    Signed-off-by: Joe Perches
    Signed-off-by: Jean Delvare

    Joe Perches
     
  • We have a standard intrusion detection interface now, drivers should
    implement it. I've left the old interface in place for the time being,
    with a deprecation warning, it will be removed later.

    Signed-off-by: Jean Delvare
    Acked-by: Guenter Roeck

    Jean Delvare
     
  • We have a standard intrusion detection interface now, drivers should
    implement it. I've left the old interface in place for the time being,
    with a deprecation warning, it will be removed later.

    Signed-off-by: Jean Delvare
    Acked-by: Guenter Roeck

    Jean Delvare
     
  • We have a standard intrusion detection interface now, drivers should
    implement it. I've left the old interface in place for the time being,
    with a deprecation warning, it will be removed later.

    Signed-off-by: Jean Delvare
    Acked-by: Guenter Roeck

    Jean Delvare
     
  • Functions set_fan_min() and set_fan_div() assume that the fan_div
    values have already been read from the register. The driver currently
    doesn't initialize them at load time, they are only set when function
    via686a_update_device() is called. This means that set_fan_min() and
    set_fan_div() misbehave if, for example, "sensors -s" is called
    before any monitoring application (e.g. "sensors") is has been run.

    Fix the problem by always initializing the fan_div values at device
    bind time.

    Signed-off-by: Jean Delvare
    Cc: stable@kernel.org
    Acked-by: Guenter Roeck

    Jean Delvare
     
  • The code triggers a false warning with older versions of gcc:
    w83795.c: In function 'w83795_update_device':
    w83795.c:475: warning: 'lsb' may be used uninitialized in this function

    I admit that the code is a little tricky, but I see no way to write it
    differently without hurting performance. So let's just silent the
    warning with a needless initialization.

    Signed-off-by: Jean Delvare
    Acked-by: Guenter Roeck

    Jean Delvare
     
  • Trivial patch updating my email contact details due to change of
    employer, and because I no longer have access to the previously used
    domain.

    Unfortunately I also no longer have access to any ads7828 hardware, but
    am happy to support/maintain the driver if others are able to test
    changes.

    Signed-off-by: Steve Hardy
    Signed-off-by: Jean Delvare

    Steven Hardy
     

10 Jan, 2011

1 commit


09 Jan, 2011

10 commits