Commit 6e245784 authored by Federico Vaga's avatar Federico Vaga

sdb: if BUSY, sdb is already there

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 047ec2e2
......@@ -285,6 +285,11 @@ static int __fa_sdb_get_device(struct fa_dev *fa)
int ret;
ret = fmc_scan_sdb_tree(fmc, 0);
if (ret == -EBUSY) {
/* Not a problem, it's already there. We assume that
it's the correct one */
ret = 0;
}
if (ret < 0) {
dev_err(dev,
"%s: no SDB in the bitstream."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment