bus/fslmc: fix find device start condition
authorGaetan Rivet <gaetan.rivet@6wind.com>
Thu, 22 Mar 2018 10:28:44 +0000 (11:28 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 4 Apr 2018 22:45:21 +0000 (00:45 +0200)
commit78f5a2e93d746110d1da1a81a62cf6149c52e6ef
tree6cf2176eaa233a98733e6751c4068e2025baaa9f
parent952b20777255d203dafd813b1adfb4b9d6b449d1
bus/fslmc: fix find device start condition

If start is set and a device before it matches the data,
this device is returned.

Fixes: c7fe1eea8a74 ("bus: simplify finding starting point")
Cc: stable@dpdk.org
Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/bus/fslmc/fslmc_bus.c