From mboxrd@z Thu Jan 1 00:00:00 1970 From: Caesar Wang Subject: [PATCH v3 0/1] thermal: rockchip: make temperature reporting much more accurate Date: Thu, 22 Jan 2015 01:29:29 +0800 Message-ID: <1421861370-19422-1-git-send-email-wxt@rock-chips.com> Return-path: Received: from regular1.263xmail.com ([211.150.99.138]:46745 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752235AbbAUR36 (ORCPT ); Wed, 21 Jan 2015 12:29:58 -0500 Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Heiko Stuebner , Zhang Rui , Eduardo Valentin Cc: Dmitry Torokhov , Daniel Kurtz , Caesar Wang , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org This patch is merged on chromiumos/third_party/kernel. https://chromium-review.googlesource.com/#/c/239190/ Tested on veyron boards. Changes in v3: Suggested-by Daniel Kurtz, the check doesn't reject "code == 0xfff" Fixed in rk_tsadcv2_code_to_temp(u32 code) Changes in v2: Reviewed-by: Dmitry Torokhov Caesar Wang (1): thermal: rockchip: make temperature reporting much more accurate drivers/thermal/rockchip_thermal.c | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) -- 1.9.1