diff options
author | Bitan Biswas <bbiswas@nvidia.com> | 2011-08-17 16:00:17 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:48:21 -0800 |
commit | d11fc993854d3356b17a61057e6ae00fb1d8e264 (patch) | |
tree | ff7034bee906f48b339d47bea943de68d8bc55b1 /drivers/hwmon | |
parent | c2e542cde3e9e14321413c0796dd4a6c8156d4cf (diff) |
hwmon: tegra: tsensor: more error prints
In case of tsensor probe failure in temperature
calculation sanity test step, added more prints.
bug 865024
Original-Change-Id: Ie74b25cc162fc17c83127d832c14dbd1c603a8e5
Reviewed-on: http://git-master/r/47518
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Rebase-Id: Rec20a2726eae6e0779761beb6510f59ef3aab6f1
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/tegra-tsensor.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/hwmon/tegra-tsensor.c b/drivers/hwmon/tegra-tsensor.c index 025be5426b92..11d478e2ca8f 100644 --- a/drivers/hwmon/tegra-tsensor.c +++ b/drivers/hwmon/tegra-tsensor.c @@ -1170,6 +1170,11 @@ static bool test_temperature_algo(struct tegra_tsensor_data *data) } endLabel: + if (!result) + pr_info("NO Match: actual=%d," + " calc counter2=%d, counter1=%d\n", actual_counter, + counter2, counter1); + return result; } |