1. 20 10月, 2012 6 次提交
  2. 29 9月, 2012 1 次提交
  3. 25 9月, 2012 1 次提交
  4. 08 9月, 2012 1 次提交
    • S
      bcma: don't leak memory for PCIE, MIPS, GBIT cores · ee915927
      Saul St. John 提交于
      bcma_scan_bus allocates a bcma_core for each core found on the bus, but the
      memory for cores handled by the bcma driver itself was not being freed when
      the bus was unregistered. This patch adds special handling for the PCIE,
      MIPS, and GBIT COMMON cores, to ensure that their memory allocation is
      freed as well.
      
      Note that this patch doesn't address the memory allocated for the CC core,
      as that was corrected in my previous patch "bcma: register cc core driver,
      device."
      
      Cc: Rafał Miłecki <zajec5@gmail.com>
      Signed-off-by: NSaul St. John <saul.stjohn@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ee915927
  5. 22 8月, 2012 2 次提交
  6. 11 8月, 2012 1 次提交
  7. 03 8月, 2012 1 次提交
  8. 27 7月, 2012 3 次提交
    • H
      bcma: fix invalid PMU chip control masks · 1f03bf06
      Hauke Mehrtens 提交于
      Commit b9562545 ("bcma: complete workaround for BCMA43224 and
      BCM4313") introduced the wrong masks for setting the chip control
      registers - the "mask" parameter is inverse.
      
      It should be the mask of bits *not* changed, which is admittedly a bit
      non-intuitive.
      
      The incorrect mask not only causes the driver to not work correctly on
      the chips affected (eg the BCM43224 on the Macbook Air 4,2) but the
      state persists over a soft reset, causing the next boot to not
      necessarily see the device correctly.
      Reported-and-tested-by: NLinus Torvalds <torvalds@linux-foundation.org>
      Tested-by: NSeth Forshee <seth.forshee@canonical.com>
      Cc: Hauke Mehrtens <hauke@hauke-m.de>
      Cc: Arend Van Spriel <arend@broadcom.com>
      Cc: Pieter-Paul Giesberts <pieterpg@broadcom.com>
      Cc: Brett Rudley <brudley@broadcom.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      1f03bf06
    • H
      bcma: add missing iounmap on error path · 9dbf5f55
      Hauke Mehrtens 提交于
      This should fix the problem reported by Fengguang:
      
      The coccinelle static checker emits these warnings:
      
      drivers/bcma/scan.c:466:3-9: ERROR: missing iounmap; ioremap on line 451 and execution via conditional on line 465
      drivers/bcma/scan.c:540:3-9: ERROR: missing iounmap; ioremap on line 515 and execution via conditional on line 539
      Reported-by: NFengguang Wu <fengguang.wu@intel.com>
      Signed-off-by: NHauke Mehrtens <hauke@hauke-m.de>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      9dbf5f55
    • H
      bcma: fix regression in interrupt assignment on mips · d8f1bd2f
      Hauke Mehrtens 提交于
      The wrong interrupts where assigned to the cores in
      bcma_core_mips_init(). This caused at least my serial console not to
      response to any input.
      
      This was caused by this patch which changed the order of the cores in
      the list:
      commit c334e25c
      Author: Rafał Miłecki <zajec5@gmail.com>
      Date:   Wed Jul 11 12:37:00 2012 +0200
      
          bcma: add new cores at the end of list
      
      This should be fixed properly later so that the correct interrupt
      numbers are assigned to the cores independently from the ordering of
      the list. This patch restores the old behavior again. I will look into
      the problem more deeply later.
      
      I also changed the order of the list with the cores and their assigned
      interrupt number which gets printed to the log. Now they are printed in
      the same order like all the other lists of cores and like it was done
      before the patch which changed the order.
      Signed-off-by: NHauke Mehrtens <hauke@hauke-m.de>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      d8f1bd2f
  9. 18 7月, 2012 1 次提交
  10. 13 7月, 2012 4 次提交
  11. 12 7月, 2012 2 次提交
  12. 10 7月, 2012 10 次提交
  13. 28 6月, 2012 1 次提交
  14. 09 6月, 2012 1 次提交
  15. 05 6月, 2012 1 次提交
  16. 17 5月, 2012 4 次提交