Skip to content
Snippets Groups Projects
Commit d3e8f630 authored by Emmanuel Vadot's avatar Emmanuel Vadot Committed by Tom Rini
Browse files

api: storage: Test all block device in dev_stor_get


In a config with one MMC at device id '1' and no MMC at device id '0'
(a BeagleBone Black with no sd inserted for example), the current code
will first test to access the MMC 0 (sd port), seeing that no device is
present it will simply return that no more device are present for this
class.
This patch fixes this by testing all devices for each class.

Signed-off-by: default avatarEmmanuel Vadot <manu@bidouilliste.com>
parent 6215bd4c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment