1. 16 Oct, 2009 1 commit
    • Atsushi Nemoto's avatar
      - Call dev_set_drvdata before rtc device creation. · 0dc9e7c9
      Atsushi Nemoto authored
      - Use its own spinlock instead of rtc->irq_lock.  Because pdata->rtc
        must be initialized to use the irq_lock (pdata->rtc->irq_lock).  There
        is a small window which rtc methods can be called before pdata->rtc is
        initialized.
      
        And there is no need use the irq_lock to protect hardware registers.
        The driver's own spinlock shoule be enough.
      
      - Check pdata->rtc before calling rtc_update_irq.
      
      - Use alarm_irq_enable and remove ioctl routine.
      
      - Use devres APIs and simplify error/remove path.
      
      These fixes are ported from ds1553 driver and just compile-tested only.
      Signed-off-by: default avatarAtsushi Nemoto <anemo@mba.ocn.ne.jp>
      Cc: Alessandro Zummo <alessandro.zummo@towertech.it>
      Cc: Thomas Hommel <thomas.hommel@gefanuc.com>
      Cc: David Brownell <david-b@pacbell.net>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      0dc9e7c9
  2. 12 Oct, 2009 4 commits
  3. 30 Sep, 2009 1 commit
  4. 13 Oct, 2009 1 commit
  5. 06 Oct, 2009 10 commits
  6. 30 Oct, 2009 1 commit
  7. 14 Oct, 2009 1 commit
  8. 15 Oct, 2009 1 commit
  9. 14 Oct, 2009 1 commit
  10. 12 Oct, 2009 1 commit
  11. 30 Sep, 2009 1 commit
    • Ben Nizette's avatar
      If len > BUFFER_LEN and !xfer->rx_buf we end up calculating the tx buffer · 76002d5b
      Ben Nizette authored
      address as
      
      *tx_dma = xfer->tx_dma + xfer->len - BUFFER_SIZE;
      
      which is constant; i.e.  we just send the last BUFFER_SIZE data over again
      until we've reached the right number of bytes.
      
      This patch gets around this by using the /requested/ length when
      calculating addresses.
      
      Note there's no way len != *plen when we calculate the rx buffer address
      but conceptually we should be using *plen and I don't want someone to come
      through later, see the calculations for rx and tx are different and "clean
      up" back to what we had.
      Signed-off-by: default avatarBen Nizette <bn@niasdigital.com>
      Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      76002d5b
  12. 29 Sep, 2009 1 commit
  13. 16 Oct, 2009 2 commits
    • Andrew Morton's avatar
      ERROR: code indent should use tabs where possible · f78d3639
      Andrew Morton authored
      #44: FILE: drivers/hwmon/w83627ehf.c:8:
      +                        Daniel J Blueman <daniel.blueman@gmail.com>$
      
      WARNING: line over 80 characters
      #88: FILE: drivers/hwmon/w83627ehf.c:306:
      +			     4->variable thermal cruise (also called SmartFan III) */
      
      WARNING: line over 80 characters
      #111: FILE: drivers/hwmon/w83627ehf.c:544:
      +						W83627EHF_REG_FAN_START_OUTPUT[i]);
      
      WARNING: line over 80 characters
      #113: FILE: drivers/hwmon/w83627ehf.c:546:
      +						W83627EHF_REG_FAN_STOP_OUTPUT[i]);
      
      total: 1 errors, 3 warnings, 153 lines checked
      
      ./patches/hwmon-w83627ehf-updates.patch has style problems, please review.  If any of these errors
      are false positives report them to the maintainer, see
      CHECKPATCH in MAINTAINERS.
      
      Please run checkpatch prior to sending patches
      
      Cc: Daniel J Blueman <daniel.blueman@gmail.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      f78d3639
    • Daniel J Blueman's avatar
      Add control of fan minimum turn-on output levels, decoupling it from the · a4ea57ab
      Daniel J Blueman authored
      fan turn-off output level.  Add control of rate of change of fan output
      level.  These in turn allow lower turn-off rotor speed and smoother
      transitions for better thermal and acoustic control authority.  Add
      support for constant fan speed and proportional-response operations modes.
      Signed-off-by: default avatarDaniel J Blueman <daniel.blueman@gmail.com>
      Cc: Jean Delvare <khali@linux-fr.org>
      Cc: David Hubbard <david.c.hubbard@gmail.com>
      Cc: Hans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      a4ea57ab
  14. 06 Oct, 2009 2 commits
  15. 08 Oct, 2009 1 commit
  16. 16 Oct, 2009 1 commit
  17. 28 Oct, 2009 2 commits
  18. 25 Sep, 2009 1 commit
  19. 15 Oct, 2009 1 commit
  20. 09 Oct, 2009 1 commit
  21. 16 Oct, 2009 1 commit
  22. 14 Oct, 2009 1 commit
  23. 29 Sep, 2009 2 commits
  24. 14 Oct, 2009 1 commit