1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

print MCI information at init

This commit is contained in:
none 2021-02-24 20:21:57 +01:00
parent 7efa935a30
commit 1598ab98bc

View File

@ -59,7 +59,11 @@ static int mci_reset(struct ddb_link *link)
dev_err(link->dev->dev, "MCI init failed!\n"); dev_err(link->dev->dev, "MCI init failed!\n");
return -1; return -1;
} }
dev_info(link->dev->dev, "MCI port OK, init time %u msecs\n", (40-timeout)*50); dev_info(link->dev->dev, "MCI port OK, init time %u msecs\n", (40 - timeout) * 50);
print_hex_dump(KERN_INFO, "ddbridge: MCI INIT INFO: ", DUMP_PREFIX_NONE, 16, 1,
link->dev->regs + regmap->mci_buf->base + MCI_COMMAND_SIZE,
16, false);
return 0; return 0;
} }