lkml.org 
[lkml]   [2012]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/1] drm/i915: ensure i2c adapter is all set before adding it
    On Mon, Aug 13, 2012 at 05:33:02PM +0300, Jani Nikula wrote:
    > i2c_add_adapter() may do i2c transfers on the bus to detect supported
    > devices. Therefore the adapter needs to be all set before adding it. This
    > was not the case for the bit-banging fallback, resulting in an oops if the
    > device detection GMBUS transfers timed out. Fix the issue by calling
    > i2c_add_adapter() only after intel_gpio_setup().
    >
    > LKML-Reference: <5021F00B.7000503@ionic.de>
    > Signed-off-by: Jani Nikula <jani.nikula@intel.com>

    Applied to -fixes with Mihai's tested-by added, thanks for the patch.
    -Daniel
    --
    Daniel Vetter
    Mail: daniel@ffwll.ch
    Mobile: +41 (0)79 365 57 48


    \
     
     \ /
      Last update: 2012-08-14 03:43    [W:0.038 / U:30.508 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site