1. 25 6月, 2009 1 次提交
  2. 24 6月, 2009 4 次提交
    • C
      update Documentation/filesystems/Locking · 7e325d3a
      Christoph Hellwig 提交于
      The rules for locking in many superblock operations has changed
      significantly, so update the documentation for it.  Also correct some
      older updates and ommissions.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      7e325d3a
    • L
      tracing: Fix trace_buf_size boot option · 9d612bef
      Li Zefan 提交于
      We should be able to specify [KMG] when setting trace_buf_size
      boot option, as documented in kernel-parameters.txt
      Signed-off-by: NLi Zefan <lizf@cn.fujitsu.com>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      LKML-Reference: <4A41F2DB.4020102@cn.fujitsu.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      9d612bef
    • T
      leds: Add options to have GPIO LEDs start on or keep their state · ed88bae6
      Trent Piepho 提交于
      There already is a "default-on" trigger but there are problems with it.
      
      For one, it's a inefficient way to do it and requires led trigger support
      to be compiled in.
      
      But the real reason is that is produces a glitch on the LED.  The GPIO is
      allocate with the LED *off*, then *later* when the trigger runs it is
      turned back on.  If the LED was already on via the GPIO's reset default or
      action of the firmware, this produces a glitch where the LED goes from on
      to off to on.  While normally this is fast enough that it wouldn't be
      noticeable to a human observer, there are still serious problems.
      
      One is that there may be something else on the GPIO line, like a hardware
      alarm or watchdog, that is fast enough to notice the glitch.
      
      Another is that the kernel may panic before the LED is turned back on, thus
      hanging with the LED in the wrong state.  This is not just speculation, but
      actually happened to me with an embedded system that has an LED which
      should turn off when the kernel finishes booting, which was left in the
      incorrect state due to a bug in the OF LED binding code.
      
      We also let GPIO LEDs get their initial value from whatever the current
      state of the GPIO line is.  On some systems the LEDs are put into some
      state by the firmware or hardware before Linux boots, and it is desired to
      have them keep this state which is otherwise unknown to Linux.
      
      This requires that the underlying GPIO driver support reading the value of
      output GPIOs.  Some drivers support this and some do not.
      
      The platform device binding gains a field in the platform data
      "default_state" that controls this.  There are three constants defined to
      select from on, off, or keeping the current state.  The OpenFirmware
      binding uses a property named "default-state" that can be set to "on",
      "off", or "keep".  The default if the property isn't present is off.
      Signed-off-by: NTrent Piepho <xyzzy@speakeasy.org>
      Acked-by: NGrant Likely <grant.likely@secretlab.ca>
      Acked-by: NWolfram Sang <w.sang@pengutronix.de>
      Acked-by: NSean MacLennan <smaclennan@pikatech.com>
      Signed-off-by: NRichard Purdie <rpurdie@linux.intel.com>
      ed88bae6
    • A
      leds: LED driver for National Semiconductor LP3944 Funlight Chip · 5054d39e
      Antonio Ospite 提交于
      LEDs driver for National Semiconductor LP3944 Funlight Chip
      http://www.national.com/pf/LP/LP3944.html
      
      This helper chip can drive up to 8 leds, with two programmable DIM
      modes; it could even be used as a gpio expander but this driver assumes
      it is used as a led controller.
      
      The DIM modes are used to set _blink_ patterns for leds, the pattern is
      specified supplying two parameters:
        - period: from 0s to 1.6s
        - duty cycle: percentage of the period the led is on, from 0 to 100
      
      LP3944 can be found on Motorola A910 smartphone, where it drives the rgb
      leds, the camera flash light and the displays backlights.
      Signed-off-by: NAntonio Ospite <ospite@studenti.unina.it>
      Signed-off-by: NRichard Purdie <rpurdie@linux.intel.com>
      5054d39e
  3. 23 6月, 2009 5 次提交
  4. 22 6月, 2009 4 次提交
  5. 21 6月, 2009 1 次提交
  6. 20 6月, 2009 1 次提交
  7. 19 6月, 2009 17 次提交
  8. 18 6月, 2009 5 次提交
  9. 17 6月, 2009 2 次提交