Files
u-boot-tk1-som/drivers
Simon Glass f66529f998 dm: core: Correct bug introduced in uclass_first/next_device()
These functions now rely on uclass_find_first/next_device() and assume that
they will either return failure (-ve error code) or a device. In fact,
coming to the end of a list is not considered failure and they return 0
in that case.

The logic to deal with this was replaced in commit acb9ca2a with just using
uclass_get_device_tail(). Add back the missing logic. This bug was
caught by unit tests but since they were broken for other reasons at the
time, this was not noticed.

Signed-off-by: Simon Glass <sjg@chromium.org>
2015-04-28 16:49:03 -06:00
..
2015-03-30 23:24:38 -05:00
2015-04-10 14:23:23 +02:00
2015-04-23 16:46:50 -07:00
2015-03-24 10:50:50 -04:00
2015-04-27 21:08:42 +05:30