1. 22 3月, 2011 8 次提交
  2. 03 3月, 2011 11 次提交
  3. 02 2月, 2011 5 次提交
  4. 01 2月, 2011 1 次提交
  5. 31 1月, 2011 11 次提交
  6. 21 1月, 2011 1 次提交
    • D
      kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT · 6a108a14
      David Rientjes 提交于
      The meaning of CONFIG_EMBEDDED has long since been obsoleted; the option
      is used to configure any non-standard kernel with a much larger scope than
      only small devices.
      
      This patch renames the option to CONFIG_EXPERT in init/Kconfig and fixes
      references to the option throughout the kernel.  A new CONFIG_EMBEDDED
      option is added that automatically selects CONFIG_EXPERT when enabled and
      can be used in the future to isolate options that should only be
      considered for embedded systems (RISC architectures, SLOB, etc).
      
      Calling the option "EXPERT" more accurately represents its intention: only
      expert users who understand the impact of the configuration changes they
      are making should enable it.
      Reviewed-by: NIngo Molnar <mingo@elte.hu>
      Acked-by: NDavid Woodhouse <david.woodhouse@intel.com>
      Signed-off-by: NDavid Rientjes <rientjes@google.com>
      Cc: Greg KH <gregkh@suse.de>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Robin Holt <holt@sgi.com>
      Cc: <linux-arch@vger.kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6a108a14
  7. 19 1月, 2011 3 次提交
    • J
      [media] hdpvr: reduce latency of i2c read/write w/recycled buffer · 559d162e
      Jarod Wilson 提交于
      The current hdpvr code kmalloc's a new buffer for every i2c read and
      write. Rather than do that, lets allocate a buffer in the driver's
      device struct and just use that every time.
      
      The size I've chosen for the buffer is the maximum size I could
      ascertain might be used by either ir-kbd-i2c or lirc_zilog, plus a bit
      of padding (lirc_zilog may use up to 100 bytes on tx, rounded that up
      to 128).
      
      Note that this might also remedy user reports of very sluggish behavior
      of IR receive with hdpvr hardware.
      
      v2: make sure (len <= (dev->i2c_buf)) [Jean Delvare]
      Reported-by: NJean Delvare <khali@linux-fr.org>
      Acked-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NJarod Wilson <jarod@redhat.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      559d162e
    • J
      [media] hdpvr: enable IR part · 324b04ba
      Jarod Wilson 提交于
      A number of things going on here, but the end result is that the IR part
      on the hdpvr gets enabled, and can be used with ir-kbd-i2c and/or
      lirc_zilog.
      
      First up, there are some conditional build fixes that come into play
      whether i2c is built-in or modular. Second, we're swapping out
      i2c_new_probed_device() for i2c_new_device(), as in my testing, probing
      always fails, but we *know* that all hdpvr devices have a z8 chip at
      0x70 and 0x71. Third, we're poking at an i2c address directly without a
      client, and writing some magic bits to actually turn on this IR part
      (this could use some improvement in the future). Fourth, some of the
      i2c_adapter storage has been reworked, as the existing implementation
      used to lead to an oops following i2c changes c. 2.6.31.
      
      Earlier editions of this patch have been floating around the 'net for a
      while, including being patched into Fedora kernels, and they *do* work.
      This specific version isn't yet tested, beyond loading ir-kbd-i2c and
      confirming that it does bind to the RX address of the hdpvr.
      
      [mchehab@redhat.com: I2C_CLASS_TV_ANALOG is not defined. Fix compilation bug]
      Signed-off-by: NJarod Wilson <jarod@redhat.com>
      Acked-by: NAndy Walls <awalls@md.metrocast.net>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      324b04ba
    • J
      [media] rc/mceusb: timeout should be in ns, not us · 706c57d8
      Jarod Wilson 提交于
      Fixes an egregious bug in mceusb driver, where the receiver was being
      put into idle mode far sooner than it should have, thanks to storing a
      timeout value that in us where it should be ns. Basically, the receiver
      kept going into idle mode before a trailing space had been fully
      received, which was causing problems for some protocols, most notably
      manifesting as lirc userspace never receiving a trailing space for any
      rc5 signals.
      Signed-off-by: NJarod Wilson <jarod@redhat.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      706c57d8