From: Guenter Roeck Date: Thu, 26 Apr 2012 14:04:21 +0000 (-0700) Subject: Update debug message for invalid source register X-Git-Tag: nct6775-v0.9~30 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=14a2e3ee1f83b25f291558eab2e24dd4868904d7;p=groeck-nct6775 Update debug message for invalid source register Signed-off-by: Guenter Roeck --- diff --git a/nct6775.c b/nct6775.c index 6e21ffb..ea67d79 100644 --- a/nct6775.c +++ b/nct6775.c @@ -3332,7 +3332,9 @@ static int __devinit nct6775_probe(struct platform_device *pdev) if (src >= data->temp_label_num || !strlen(data->temp_label[src])) { - dev_info(dev, "Invalid temperature source %d\n", src); + dev_info(dev, + "Invalid temperature source %d at index %d, source register 0x%x, temp register 0x%x\n", + src, i, data->REG_TEMP_SOURCE[i], reg_temp[i]); continue; }