baylibre-acme: don't report ACME as detected if no probes are present
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
This commit is contained in:
parent
b1e034f758
commit
380ee96fdf
|
@ -109,6 +109,13 @@ static GSList *scan(GSList *options)
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Let's assume there's no ACME device present if no probe
|
||||
* has been registered.
|
||||
*/
|
||||
if (sdi->channel_groups == NULL)
|
||||
goto err_out;
|
||||
|
||||
devices = g_slist_append(devices, sdi);
|
||||
drvc->instances = g_slist_append(drvc->instances, sdi);
|
||||
|
||||
|
|
Loading…
Reference in New Issue