lkml.org 
[lkml]   [2011]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 4/5] gpiolib: handle deferral probe error
    On Fri, 07 Oct 2011 10:33:09 +0500
    "G, Manjunath Kondaiah" <manjugk@ti.com> wrote:

    >
    > The gpio library should return -EPROBE_DEFER in gpio_request
    > if gpio driver is not ready.

    Why not use the perfectly good existing error codes we have for this ?

    We have EAGAIN and EUNATCH both of which look sensible.


    \
     
     \ /
      Last update: 2011-10-07 12:09    [W:0.018 / U:0.916 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site