1. 02 8月, 2014 2 次提交
    • R
      drm/i2c: tda998x: add component support · c707c361
      Russell King 提交于
      Add component helper support to the tda998x driver.  This permits the
      TDA998x to be declared as a separate device in device tree, and bound
      at the appropriate moment with a co-operating card driver.
      
      The existing slave_encoder interfaces are kept while there are existing
      users of it in order to prevent regressions.
      Tested-by: NDarren Etheridge <detheridge@ti.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      c707c361
    • R
      drm/i2c: tda998x: allow re-use of tda998x support code · a8f4d4d6
      Russell King 提交于
      Re-jig the TDA998x code so that we separate the functionality from the
      drm slave encoder implementation.  In several places, this is pretty
      clearly the correct thing to do, because we can avoid repetitively
      having to convert from the drm_encoder to the TDA998x private
      structure, particularly with the driver internal functions.
      
      The main motivation behind this change is to allow the code to be
      re-used with a standard drm_encoder and drm_connector implementation
      based on the component helpers, rather than the slave_encoder system.
      The addition of this will be in the following patch.
      
      We keep the slave_encoder interface as there are existing users of
      this; we need to give them time to convert and test.
      Tested-by: NDarren Etheridge <detheridge@ti.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      a8f4d4d6
  2. 22 7月, 2014 1 次提交
  3. 26 6月, 2014 3 次提交
  4. 22 4月, 2014 1 次提交
    • D
      drm/i2c/tda998x: Fix signed overflow issue · 8268bd48
      Daniel Vetter 提交于
      This is C standard hair-splitting, but afaict
      - sum will be promoted to signed int in computation since
        uint8_t fits
      - signed overflow is undefined.
      
      No we need to add up an awful lot of bytes to actually make it
      overflow. But I guess the real risk is gcc spotting this and going
      bananas. Fix this by simply using unsigned in to force all computations
      to use the well-defined unsigned behaviour.
      
      Spotted by coverity.
      
      v2: Simplify the entire computation as suggested by Jean.
      
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Cc: Rob Clark <robdclark@gmail.com>
      Cc: Jean-Francois Moine <moinejf@free.fr>
      Reviewed-by: NDavid Herrmann <dh.herrmann@gmail.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      8268bd48
  5. 15 2月, 2014 1 次提交
  6. 14 2月, 2014 18 次提交
  7. 03 2月, 2014 6 次提交
  8. 18 10月, 2013 1 次提交
  9. 25 9月, 2013 1 次提交
  10. 05 9月, 2013 1 次提交
  11. 19 8月, 2013 5 次提交