From: Cezary Rojewski Date: Thu, 28 May 2026 08:34:44 +0000 (+0200) Subject: ASoC: Intel: catpt: Print error code if board-registration fails X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45cf3e0cb4ca0f01269c73f71a53a570ae342471;p=thirdparty%2Flinux.git 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 --- diff --git a/sound/soc/intel/catpt/device.c b/sound/soc/intel/catpt/device.c index 6fe212f498c6a..b0a926db483c6 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); }