1. 22 3月, 2011 36 次提交
  2. 03 3月, 2011 1 次提交
  3. 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
  4. 19 1月, 2011 2 次提交
    • J
      [media] frontends/ix2505v: Remember to free allocated memory in failure path · 36fd9788
      Jesper Juhl 提交于
      We may leak the storage allocated to 'state' in
      drivers/media/dvb/frontends/ix2505v.c::ix2505v_attach() on error, as
      it is too early to be able to call ix2505v_release().
      
      This patch makes sure we free the allocated memory in the failure case.
      Signed-off-by: NJesper Juhl <jj@chaosbits.net>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      36fd9788
    • M
      [media] mb86a20s: Be sure that device is initialized before starting DVB · c736a5f2
      Mauro Carvalho Chehab 提交于
      Due to a hard to track bug between tda829x/tda18271/saa7134, tda829x
      wants to go to analog mode during DVB initialization, causing some
      I2C errors.
      
      The analog failure doesn't cause any harm, as the device were already
      properly initialized in analog mode. However, the failure at the digital
      mode causes the frontend mb86a20s to not initialize. Fortunately, at
      least on my tests, it was possible to detect that the device is a
      mb86a20s before the failure.
      
      What happens is that tda8290 is a very bad boy: during DVB setup, it
      keeps insisting to call tda18271 analog_set_params, that calls
      tune_agc code. The tune_agc code calls saa7134 driver, changing the
      value of GPIO 27, switching from digital to analog mode and disabling
      the access to mb86a20s, as, on Kworld SBTVD, the same GPIO used
      to switch the hardware AGC mode seems to be used to enable the I2C
      switch that allows access to the frontend (mb86a20s).
      
      So, a call to analog_set_params ultimately disables the access to
      the frontend, and causes a failure at the init frontend logic.
      
      This patch is a workaround for this issue: it simply checks if the
      frontend init had any failure. If so, it will init the frontend when
      some DTV application will try to set DVB mode.
      
      Even being a hack for Kworld SBTVD to work, and assumning that we could
      teach tda8290 to be a good boy, this is actually an improvement at the
      frontend driver, as it will be more reliable to initialization failures.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      c736a5f2