mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
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:
parent
0ee392ea75
commit
45cf3e0cb4
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user