• David Brownell's avatar
    [PATCH] found_match return value incorrect. · b033cfbe
    David Brownell authored
    > I've seen several cases where 'usbtest' would look at the device
    > and say "no thanks", but then the "right" driver wouldn't ever
    > bind to the device.
    
    This patch seems to fix it.  I think Linus' tree needs it,
    or something like it.
    
    (Since the probe routine returns zero on success, there
    was confusion inside the driver model code where it assumed
    that zero meant failure.)
    b033cfbe
core.c 7.19 KB