greybus: loopback: Fix broken loopback min values
authorAlexandre Bailon <abailon@baylibre.com>
Fri, 11 Mar 2016 16:23:37 +0000 (17:23 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 17 Mar 2016 04:49:31 +0000 (21:49 -0700)
commit1dc8d3d7c568d9a80fa20570a764da57677f1050
tree18649a4cc28c19d6afcdc2095055cb0b68eb7467
parentd18da86b51c135100e297a9833bcdc586e68a84b
greybus: loopback: Fix broken loopback min values

Currently, when a loopback test completely fail,
loopback will return 4294967295 for every min value.
Return 0 instead of 4294967295 in such case.

Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/loopback.c