lkml.org 
[lkml]   [2011]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRE: [PATCH 1/3] staging:iio:magnetometer:ak8975 Don't use irq_to_gpio()
    > Subject: [PATCH 1/3] staging:iio:magnetometer:ak8975 Don't 
    > use irq_to_gpio()
    >
    > Tegra doesn't have irq_to_gpio() any more, and ak8975 is included in
    > tegra_defconfig. This causes a build failure. Solve this with
    > a heavy-handed
    > method for now.
    >
    > I suspect the long-term solution is to pass both the IRQ and GPIO IDs
    > to the driver; the GPIO ID coming from either platform data,
    > or perhaps
    > enhancing struct i2c_client to add a gpio field alongside irq.
    >
    > Signed-off-by: Stephen Warren <swarren@nvidia.com>
    > ---

    The three patches in this set LGTM.

    Acked-by: Andrew Chew <achew@nvidia.com>


    \
     
     \ /
      Last update: 2011-08-31 21:47    [W:0.020 / U:32.032 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site