[PATCH 2/2] soc: samsung: exynos-chipid: be more informative when soc is unknown

Henrik Grimler
2021-10-31T17:00:08Z

Print the obtained product id that is incompatible.

Signed-off-by: Henrik Grimler <henrik@grimler.se>
---
drivers/soc/samsung/exynos-chipid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/samsung/exynos-chipid.c b/drivers/soc/samsung/exynos-chipid.c
index 7fe44f71920d..885d578fd005 100644
--- a/drivers/soc/samsung/exynos-chipid.c
+++ b/drivers/soc/samsung/exynos-chipid.c
@@ -132,7 +132,7 @@ static int exynos_chipid_probe(struct platform_device *pdev)
"%x", soc_info.revision);
soc_dev_attr->soc_id = product_id_to_soc_id(soc_info.product_id);
if (!soc_dev_attr->soc_id) {
- pr_err("Unknown SoC\n");
+ pr_err("Exynos: Unknown SoC: 0x%x\n", soc_info.product_id);
return -ENODEV;
}

--
2.33.1