Message ID | 20211031165645.1182368-2-henrik@grimler.se (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/2] soc: samsung: exynos-chipid: print entire PRO_ID reg when probing | expand |
On 31/10/2021 17:56, Henrik Grimler wrote: > Print the obtained product id that is incompatible. > Why? Please mention it in the commit msg. Best regards, Krzysztof
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; }
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(-)