Skip to content
Snippets Groups Projects
  1. Nov 06, 2019
  2. May 24, 2019
  3. Oct 20, 2014
  4. Oct 18, 2013
  5. May 13, 2013
  6. Apr 08, 2013
  7. Nov 28, 2012
  8. Sep 24, 2012
  9. Jul 22, 2012
  10. Mar 19, 2012
    • Guenter Roeck's avatar
      hwmon: (abituguru) Fix checkpatch issues · 1bd385d6
      Guenter Roeck authored
      
      Fixed:
      ERROR: do not use assignment in if condition
      ERROR: else should follow close brace '}'
      ERROR: switch and case should be at the same indent
      WARNING: simple_strtoul is obsolete, use kstrtoul instead
      
      Modify multi-line comments to follow Documentation/CodingStyle.
      
      Not fixed:
      WARNING: msleep < 20ms can sleep for up to 20ms
      
      Cc: Hans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      1bd385d6
  11. Jan 12, 2012
  12. May 25, 2011
  13. Mar 31, 2011
  14. Mar 21, 2011
  15. Jan 08, 2011
  16. Sep 15, 2009
  17. Oct 10, 2007
  18. Jul 19, 2007
  19. Feb 14, 2007
  20. Dec 04, 2006
  21. Sep 28, 2006
  22. Aug 26, 2006
    • Hans de Goede's avatar
      [PATCH] hwmon: abituguru timeout fixes · faf9b616
      Hans de Goede authored
      
      This patch contains 2 sets of fixes for the abituguru:
       1) Much improved timeout handling, drasticly reducing the amount of
          timeout errors on some motherboards
       2) Fix the exit paths in the bank1 sensor type detect code to always
          restore the original settings even on an error. Without this our
          special test settings could remain seriously confusing the system
          BIOS's setup menu.
      
      Both are very much related and are must haves, to avoid messing up the
      uguru CMOS settings.
      
      Detailed changes:
      - Much improved timeout / wait for status handling. Many thanks to Sunil
        Kumar, for all his testing, ideas and patches! The code now first busy
        waits, polling the uguru for the expected status as this usually
        succeeds pretty quickly (within 90 reads). To avoid unnecessary CPU burn
        in timeout conditions, the amount of busy waiting has been halved from
        previous versions (120 tries instead of 250). This is not a problem,
        because this version goes to sleep after 120 attemps for 1 jiffy and
        then tries again, it does this sleep and try again 5 times before
        finally giving up. This (almost?) completly removes the timeout errors
        some people have seen regulary. Apparently some older uguru versions
        sometimes are distracted for a (relatively) long time. This solves this.
      - These timeout errors not only occur in the sending address part of
        reading the uguru but also in the wait for read state, so errors in
        this state are now handled as retryable just like send address state
        errors and are only logged and reported to userspace if 3 executive
        tries fail.
      - Fix a very nasty bug in the bank1 sensor type detection code, where it
        would not restore the original settings in any of the error paths!
      - Since not successfully restoring the original settings can seriously
        confuse the system BIOS (hang when entering the relevant setup menu),
        we now try restoring them 3 times before giving up.
      
      Signed-off-by: default avatarHans de Goede <j.w.r.degoede@hhs.nl>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      faf9b616
  23. Jul 12, 2006
  24. Jun 22, 2006
Loading