ASoC: Intel: catpt: Print error code if board-registration fails

Message alone without the code does not tell us much.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20260528083444.1439233-4-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Cezary Rojewski 2026-05-28 10:34:44 +02:00 committed by Mark Brown
parent 0ee392ea75
commit 45cf3e0cb4
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -154,7 +154,7 @@ static int catpt_register_board(struct catpt_dev *cdev)
PLATFORM_DEVID_NONE,
(const void *)mach, sizeof(*mach));
if (IS_ERR(board)) {
dev_err(cdev->dev, "board register failed\n");
dev_err(cdev->dev, "register board failed: %ld\n", PTR_ERR(board));
return PTR_ERR(board);
}