1. 30 Jul, 2012 16 commits
  2. 26 Jul, 2012 5 commits
  3. 24 Jul, 2012 10 commits
  4. 23 Jul, 2012 4 commits
    • G.Shark Jeong's avatar
      leds: Add LED driver for lm3556 chip · 32abb478
      G.Shark Jeong authored
      LM3556 :
      The LM3556 is a 4 MHz fixed-frequency synchronous boost
      converter plus 1.5A constant current driver for a high-current white LED.
      Datasheet: www.national.com/ds/LM/LM3556.pdf
      Tested on OMAP4430
      (bryan.wu@canonical.com: use module_i2c_driver() rather than
      lm3556_init/lm3556_exit for code simplicity; fixed some typo
      pointed out by Rob Landley)
      Signed-off-by: default avatarG.Shark Jeong <gshark.jeong@gmail.com>
      Reviewed-by: default avatarAxel Lin <axel.lin@gmail.com>
      Reviewed-by: default avatarKim, Milo <Milo.Kim@ti.com>
      Acked-by: default avatarRob Landley <rob@landley.net>
      Signed-off-by: default avatarBryan Wu <bryan.wu@canonical.com>
    • Shuah Khan's avatar
      leds: Rename led_brightness_set() to led_set_brightness() · 19cd67e2
      Shuah Khan authored
      Rename leds external interface led_brightness_set() to led_set_brightness().
      This is the second phase of the change to reduce confusion between the
      leds internal and external interfaces that set brightness. With this change,
      now the external interface is led_set_brightness(). The first phase renamed
      the internal interface led_set_brightness() to __led_set_brightness().
      There are no changes to the interface implementations.
      Signed-off-by: default avatarShuah Khan <shuahkhan@gmail.com>
      Signed-off-by: default avatarBryan Wu <bryan.wu@canonical.com>
    • Fabio Baltieri's avatar
      leds: add oneshot blink functions · 5bb629c5
      Fabio Baltieri authored
      Add two new functions, led_blink_set_oneshot and
      led_trigger_blink_oneshot, to be used by triggers for one-shot blink of
      led devices.
      This is implemented extending the existing software-blink code, and uses
      the same timer and handler function.
      The behavior of the code is to do a blink-on, blink-off sequence when
      the function is called, ignoring other calls until the sequence is
      completed so that the leds keep blinking at constant rate if the
      functions are called repeatedly.
      This is meant to be used by drivers which needs to trigger on sporadic
      event, but doesn't have clear busy/idle trigger points.
      After the blink sequence the led remains off. This behavior can be
      inverted setting the "invert" argument, which blink the led off, than on
      and leave the led on after the sequence.
      (bryan.wu@canonical.com: rebase to commit 'leds: don't disable blinking
      when writing the same value to delay_on or delay_off')
      Signed-off-by: default avatarFabio Baltieri <fabio.baltieri@gmail.com>
      Acked-by: default avatarShuah Khan <shuahkhan@gmail.com>
      Signed-off-by: default avatarBryan Wu <bryan.wu@canonical.com>
    • Eric Dumazet's avatar
      tcp: dont drop MTU reduction indications · 563d34d0
      Eric Dumazet authored
      ICMP messages generated in output path if frame length is bigger than
      mtu are actually lost because socket is owned by user (doing the xmit)
      One example is the ipgre_tunnel_xmit() calling
      icmp_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, htonl(mtu));
      We had a similar case fixed in commit a34a101e (ipv6: disable GSO on
      sockets hitting dst_allfrag).
      Problem of such fix is that it relied on retransmit timers, so short tcp
      sessions paid a too big latency increase price.
      This patch uses the tcp_release_cb() infrastructure so that MTU
      reduction messages (ICMP messages) are not lost, and no extra delay
      is added in TCP transmits.
      Reported-by: default avatarMaciej Żenczykowski <maze@google.com>
      Diagnosed-by: default avatarNeal Cardwell <ncardwell@google.com>
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Cc: Nandita Dukkipati <nanditad@google.com>
      Cc: Tom Herbert <therbert@google.com>
      Cc: Tore Anderson <tore@fud.no>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
  5. 22 Jul, 2012 5 commits