From 45cf3e0cb4ca0f01269c73f71a53a570ae342471 Mon Sep 17 00:00:00 2001 From: Cezary Rojewski Date: Thu, 28 May 2026 10:34:44 +0200 Subject: [PATCH] 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 Link: https://patch.msgid.link/20260528083444.1439233-4-cezary.rojewski@intel.com Signed-off-by: Mark Brown --- sound/soc/intel/catpt/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/intel/catpt/device.c b/sound/soc/intel/catpt/device.c index 6fe212f498c6..b0a926db483c 100644 --- a/sound/soc/intel/catpt/device.c +++ b/sound/soc/intel/catpt/device.c @@ -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); }