1. 07 8月, 2012 6 次提交
  2. 18 7月, 2012 2 次提交
  3. 10 7月, 2012 1 次提交
  4. 25 6月, 2012 1 次提交
  5. 09 6月, 2012 1 次提交
  6. 17 5月, 2012 3 次提交
  7. 28 4月, 2012 1 次提交
  8. 22 4月, 2012 1 次提交
  9. 14 4月, 2012 1 次提交
  10. 11 4月, 2012 2 次提交
  11. 06 4月, 2012 1 次提交
    • S
      simple_open: automatically convert to simple_open() · 234e3405
      Stephen Boyd 提交于
      Many users of debugfs copy the implementation of default_open() when
      they want to support a custom read/write function op.  This leads to a
      proliferation of the default_open() implementation across the entire
      tree.
      
      Now that the common implementation has been consolidated into libfs we
      can replace all the users of this function with simple_open().
      
      This replacement was done with the following semantic patch:
      
      <smpl>
      @ open @
      identifier open_f != simple_open;
      identifier i, f;
      @@
      -int open_f(struct inode *i, struct file *f)
      -{
      (
      -if (i->i_private)
      -f->private_data = i->i_private;
      |
      -f->private_data = i->i_private;
      )
      -return 0;
      -}
      
      @ has_open depends on open @
      identifier fops;
      identifier open.open_f;
      @@
      struct file_operations fops = {
      ...
      -.open = open_f,
      +.open = simple_open,
      ...
      };
      </smpl>
      
      [akpm@linux-foundation.org: checkpatch fixes]
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Julia Lawall <Julia.Lawall@lip6.fr>
      Acked-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      234e3405
  12. 14 3月, 2012 1 次提交
  13. 06 3月, 2012 1 次提交
    • H
      b43: prevent firmware on bcm5354 from taking over wrong GPIO pins · 58098021
      Hauke Mehrtens 提交于
      When using the bcm5354 (Soc with integrated LP-PHY Wifi) with a recent
      firmware >= 478.104 it runs out of memory after a very short time in
      OpenWrt after doing an active scan or any thing else where packages are
      send. This was cased by a gpio misconfiguration, the firmware triggered
      the GPIO pins used for buttons on some devices and that caused an other
      driver (OpenWrt diag) listening for these buttons irqs to send many
      messages to the user space.
      This patch fixes the bug for my devices (Asus WL-520GU) and makes it
      work with firmware 666.2. Now the firmware just uses LED GPIO pin
      number 1 and not the button pins any more.
      
      This is the GPIO Pin layout used on my device, see [0].
      GPIO pin layout:
      pin#    name    type
      0       power   led
      1       wlan    led
      2       reset   button
      3       ses     buttom
      
      This is the nvram configuration output of "nvram show |grep gpio"
      
      related nvram configuration:
      wl0gpio2=11
      wl0gpio3=11
      wl0gpio0=11
      wl0gpio1=0x02
      reset_gpio=2
      
      [0]: https://dev.openwrt.org/browser/trunk/package/broadcom-diag/src/diag.cSigned-off-by: NHauke Mehrtens <hauke@hauke-m.de>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      58098021
  14. 25 1月, 2012 7 次提交
  15. 19 1月, 2012 1 次提交
  16. 14 1月, 2012 1 次提交
  17. 05 1月, 2012 7 次提交
  18. 04 1月, 2012 1 次提交
  19. 20 12月, 2011 1 次提交