1. 15 9月, 2007 1 次提交
    • L
      [PATCH] bcm43xx: Fix cancellation of work queue crashes · 3f708697
      Larry Finger 提交于
      A crash upon booting that is caused by bcm43xx has been reported [1] and
      found to be due to a work queue being reinitialized while work on that
      queue is still pending. This fix modifies the shutdown of work queues and
      prevents periodic work from being requeued during shutdown. With this patch,
      no more crashes on reboot were observed by the original reporter. I do not
      get that particular failure on my system; however, when running a large
      number of ifdown/ifup sequences, my system would kernel panic with the
      'caps lock' light blinking at roughly a 1 Hz rate. In addition, there were
      infrequent failures in the firmware that resulted in 'IRQ READY TIMEOUT'
      errors. With this patch, no more of the first type of failure occur, and
      incidence of the second type is greatly reduced.
      
      [1] http://bugzilla.kernel.org/show_bug.cgi?id=8937Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Acked-by: NMichael Buesch <mb@bu3sch.de>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      3f708697
  2. 11 9月, 2007 36 次提交
  3. 10 9月, 2007 3 次提交
    • H
      [CRYPTO] blkcipher: Fix inverted test in blkcipher_get_spot · 32528d0f
      Herbert Xu 提交于
      The previous patch had the conditional inverted.  This patch fixes it
      so that we return the original position if it does not straddle a page.
      
      Thanks to Bob Gilligan for spotting this.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      32528d0f
    • D
      i2c-algo-bit: Read block data bugfix · 939bc494
      David Brownell 提交于
      This fixes a bug in the way i2c-algo-bit handles I2C_M_RECV_LEN,
      used to implement i2c_smbus_read_block_data().  Previously, in the
      absence of PEC (rarely used!) it would NAK the "length" byte:
      
      	S addr Rd [A] [length] NA
      
      That prevents the subsequent data bytes from being read:
      
      	S addr Rd [A] [length] { A [data] }* NA
      
      The primary fix just reorders two code blocks, so the length used
      in the "should I NAK now?" check incorporates the data which it
      just read from the slave device.
      
      However, that move also highlighted other fault handling glitches.
      This fixes those by abstracting the RX path ack/nak logic, so it
      can be used in more than one location.  Also, a few CodingStyle
      issues were also resolved.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      939bc494
    • J
      i2c-pxa: Fix adapter number · 51e5709a
      Jean Delvare 提交于
      It turns out that platform_device.id is a "u32" so testing it for being
      nonnegative is useless when setting up an i2c adapte.  Instead,
      do what the platform_bus code does and test it against the value "-1".
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      51e5709a