Message ID | 87610efw9k.wl%kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Geert Uytterhoeven |
Headers | show
Return-Path: <linux-sh-owner@kernel.org> X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B9F21BEEE1 for <patchwork-linux-sh@patchwork.kernel.org>; Fri, 4 Dec 2015 08:36:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E87F72041C for <patchwork-linux-sh@patchwork.kernel.org>; Fri, 4 Dec 2015 08:36:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6EA0E204AF for <patchwork-linux-sh@patchwork.kernel.org>; Fri, 4 Dec 2015 08:36:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755636AbbLDIg1 (ORCPT <rfc822;patchwork-linux-sh@patchwork.kernel.org>); Fri, 4 Dec 2015 03:36:27 -0500 Received: from relmlor3.renesas.com ([210.160.252.173]:40772 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755582AbbLDIgY (ORCPT <rfc822;linux-sh@vger.kernel.org>); Fri, 4 Dec 2015 03:36:24 -0500 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie2.idc.renesas.com with ESMTP; 04 Dec 2015 17:36:22 +0900 Received: from relmlac4.idc.renesas.com (relmlac4.idc.renesas.com [10.200.69.24]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 72FE7477B6; Fri, 4 Dec 2015 17:36:22 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id 59070480A4; Fri, 4 Dec 2015 17:36:22 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id 4B3BB480A3; Fri, 4 Dec 2015 17:36:22 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac4.idc.renesas.com with ESMTP id TAJ16027; Fri, 4 Dec 2015 17:36:22 +0900 X-IronPort-AV: E=Sophos;i="5.20,380,1444662000"; d="scan'";a="201127361" Received: from mail-pu1apc01lp0017.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.17]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 04 Dec 2015 17:36:21 +0900 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.144) by SIXPR06MB1024.apcprd06.prod.outlook.com (10.160.242.28) with Microsoft SMTP Server (TLS) id 15.1.331.20; Fri, 4 Dec 2015 08:36:18 +0000 Message-ID: <87610efw9k.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH 8/8 v2] thermal: of-thermal: of_thermal_set_trip_temp() call thermal_zone_device_update() User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Simon <horms@verge.net.au>, Zhang Rui <rui.zhang@intel.com>, Eduardo Valentin <edubezval@gmail.com> CC: Magnus <magnus.damm@gmail.com>, <linux-sh@vger.kernel.org>, <linux-pm@vger.kernel.org>, <linux-kernel@vger.kernel.org> In-Reply-To: <87h9jyfwj7.wl%kuninori.morimoto.gx@renesas.com> References: <87h9jyfwj7.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset="US-ASCII" Date: Fri, 4 Dec 2015 08:36:18 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: HKXPR02CA0026.apcprd02.prod.outlook.com (25.161.48.11) To SIXPR06MB1024.apcprd06.prod.outlook.com (25.160.242.28) X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB1024; 2:ciLBqJBBpfl4C5gJRouWMRfVjZD4/qaLKb+jeKrYnuZZO8uhDshZ6IG6Sr4soD++lvPdNiKVYQ8zv8EAC9y4dod6ZYTl0IiaqZdIbXbNJtaZFlogxwIKxFQZ6lS/JrPqQpPX0OzGkwEorzOEPp6jjA==; 3:ogUWOnCsh4Vj8LHIPX/lBTC8Emu/ZrsRU+xIK49p7IJGiqMbCw+Ria4r4aoDmO2wgRTrMy4PAvHni0gz3eCePNnOLQKYHDYc7y9VtWhxR331oOx/TJtF571zWUaN7UXX; 25:5FCRzGeovslGJHoUmJboTEnIdP5JzP4PbaEZfRhbVsb+o943YJVxXVqBZA0hd36S7slBLVhCNWWe7elWxj9co/GncAkrkw9CYKqegp/wSET4wm/Q+k+V6j/uK7TWYxNaZXLUt2CAojvyFGA97+JCxouw4oshw5xR6K8Cby8h+yK7HHK0e7TZuu0oBCdVj1FNSNVp/U+jJAmXJG0hLVezGn4lBRuWmuMqv1QN9pfx3x+No4egtLE9kvJhqqi/bMNlWwg9tGU/GhclqE1fARqeYg== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SIXPR06MB1024; X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB1024; 20:ss9rJ7XYxo+4j+BCRrbwKAcVLQvDZnqCK4jpApHVKhf+l+cudx8J9AbjZP6pfwjRiO2tUTIdss6vt+PsYGhjKMuZe68IjMfDfjPK3clI38BwCw32jBGsZDYI8+lF2I7q9/oZfhNcjbtgtOPEzO6MJSyJAANAp1ZH6IsjoytxBQCQthk4d5+9IQQ1POEOjI9DTkLXXqZFNCwusr0XLyeSkUnnFRhqhqX3Cy+gOgqD6YEPlLy0sP20BkB4VKtxvoKeoTyo1rGxZNwBPogioA7pWSSUgRmjccXHZyEPAvMRc8ERz4gQeEEm8zeupIYMukCG2q9gFgtyD8NU6QgwdYzmYYmqRGGHl6U6pZFmrWLODlTKZCMe9yAoLsrHTtIWQIsDUQ0ib5hlwQ7C18rOGdYnNjGIG53JQac3yh6/7xuicPFEeq5ZJhd1abSU8pWx2KAZY1SJRmhR3MdJiH4yQnI1AIn8p2LqboZtRdV5ALHHacp6062C/DSNe3/3cmwvTpym; 4:3NxQWKXbyBodekvxfcx8bU1G0wOQv6dqu66UJSKtbyrBjCqUqdkb8TlU9W3TumMWlIWVC0yuWH/3d1sXgzDTslorg8Bu5zPTGFbxI7x8/a+cTc+Cnxe5zcDPaJq1HAivfPm15E8k6XHXC7B2t8EnMUJ4J+hNpUedk7KV0wa7CRqZJd4UYbwwasNzLFbnfwwPkmuoPpcY2s2Bj0Gw1HmgvTKc3M6OX4lz7kt2bZ+Q8PHG01bysA6JbBtbYvTnd4edrbVEGagqW5S1eP/wFfsNxJ04GCP6oCpdsvOd35CJeG2rsa66+A1rz6ybHdE+dVBdrH22vrEK63xabOglYam/u762wK13N719gGRgOL6FZFILm8oT0ZKEuiVi+JqD5J8h2Mj/fA8VhgqEgQcqWmnregyj+BLUG2xJ1WESEx ksPDJM4KhZS7AgTLn3QY8RKpZE X-Microsoft-Antispam-PRVS: <SIXPR06MB1024EA5E1D6929152AB57BCCD40C0@SIXPR06MB1024.apcprd06.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(85106069007906); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(8121501046)(5005006)(10201501046)(3002001); SRVR:SIXPR06MB1024; BCL:0; PCL:0; RULEID:; SRVR:SIXPR06MB1024; X-Forefront-PRVS: 07807C55DC X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(43544003)(5001770100001)(47776003)(81156007)(586003)(97736004)(106356001)(229853001)(40100003)(4001350100001)(66066001)(122386002)(86362001)(101416001)(92566002)(87976001)(53416004)(105586002)(33646002)(42186005)(76176999)(50466002)(50986999)(83506001)(2950100001)(54356999)(77096005)(5001960100002)(69596002)(23726003)(5008740100001)(36756003)(3846002)(1096002)(5004730100002)(19580405001)(46406003)(189998001)(6116002)(19580395003); DIR:OUT; SFP:1102; SCL:1; SRVR:SIXPR06MB1024; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SIXPR06MB1024; 23:7bwlJ2JR4mav7M0ERTMIXMwX+qRdUaKuIE/28HWWK?= =?us-ascii?Q?hgRxOppCgw55Fimrgq9qkh9M8PpPaSKV2sSk5MoJX7WNF1QPE8sr8xfIDQ5B?= =?us-ascii?Q?4ryD0fpYBiHGHuBxXjvarpqVRUnRZmAtiiZNpu5wNMJn1/ujrkxG+2VkgPH2?= =?us-ascii?Q?5tWlDKuVg0knSlGvx1h93tTqqWZMsoEI3l5X2MNfRkGLVHDx1nwnl8/YqUns?= =?us-ascii?Q?rBy0ob/IAo4RTN+tRpLokfIzrupA0qIXFdrS3kUGnxOgRXWWAGgSvEYqTh42?= =?us-ascii?Q?JgIymfh7G/3HHmvZiQNFRpPwVM1ikBNFKNpvQVgLOAs4Wl1FAgrhw5Eqg5l5?= =?us-ascii?Q?4f/vSx8fCixraNfUObQQ6Z9jDbRL0xikbkUJlPmQL8ipCiR7GLE+bmcmW2xa?= =?us-ascii?Q?pgyA+OLRC7El8AV786jfrZbOE8NgiqYrJdTnhyKXnhEVboGYTSoiuKAq6+2h?= =?us-ascii?Q?TNzVTXQTc8Ua/I07DKyhWcD+QOVXvTurnXTDvv5rmkC+hB5jPcxF1iE1UxAr?= =?us-ascii?Q?97LiEmmmAU95RhiLpZaL3G6kU2LbABBBj077Lh9VD+d7Vbyvw6jUgLHRVsRV?= =?us-ascii?Q?ZRYMAnBfDCmBUjrUI2d6I7Whmi7g/x0pxCJIBbn8xS14bVmi+5QgOE2VPd56?= =?us-ascii?Q?HQWsbLCvuR6o7pbwhtuS+j7dJWa2iAzLQUNbR07VMAsKQ6yAKnG3DaOsotN/?= =?us-ascii?Q?3y+A98ZdqrRSbW5sapON63YZFrR2cFSOvvnUR8KuxbCkjjV5wmglURTgmhCO?= =?us-ascii?Q?UK1So/kFbgvp52KYhn7tfVJFtbamc1OkilYk2TM0qNPKoKMMI2M5zjZr/o4N?= =?us-ascii?Q?6PJrAwFsMs447MCMBCsPT7BcfIlttspdQf6398KOlKiCbkt4RJwbj68CvFfT?= =?us-ascii?Q?c2w29z6QsnTlu61HJHFng1TfEo+BSoqzvRKfpLA4nK05IdcpszPZyKhzvqJ7?= =?us-ascii?Q?K3eqU5MkihtOOJIva5VcZ+GtnEQWJz5dnP9E2OzKq/yM3cva+Xu/XjKOz0Ya?= =?us-ascii?Q?mJzVVjTVwwjZsZzqhYoqQ+x+wOs8PhLzKbULlJ8aPwWs5hgNajOeLqCg0/se?= =?us-ascii?Q?7T22iTMh3qTg/rRTJGqYtQ72ZktaM8YmTExhHVp+nQLwV8TEyYNE/TI2wMFy?= =?us-ascii?Q?+pqXPm3GvQOaQmquWl/kdS2KJGJsPFS?= X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB1024; 5:/DkvChv4h89gp+LPG9sDP3h/gaif061uF2KCtqUKx2w+/fZBz0lczUpTp1C1fFZI8sVlPyJSWLSzT2pBGoHOeXH/xVGabakggIe2GEsE/Shq3OPgSmOmjNuZ8yum62yzWM7ijU/kX1BoKjBa89iOxQ==; 24:B7Hh+jJ8i6uIerwFcI7xHltpBupGkRuyblmSai+KuOHqoYGu0zssrUE33LXv6dpIWZqEtGchTQ3EO+Un0eD3oigBxD4kAsbHbtgPQaTzoOA=; 20:zcesEyVu5Lx0ZvpyaKF9AzZIoPRdwPHSc9IhIjgkPRrz8n3YochIgW8XSDyQyhJ+e6yKaufWZX4BB/o4EnUuTlBYNcZU7D+1bz/La9ox8jtkobuAr2QV6dOWx6gbowdI3weShoNyqlSiBOvKVfIhwCaw6D4hQ4QVs7EFfsw7XZI= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2015 08:36:18.0403 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SIXPR06MB1024 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: <linux-sh.vger.kernel.org> X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/thermal/of-thermal.c b/drivers/thermal/of-thermal.c index be4eedc..d59595b 100644 --- a/drivers/thermal/of-thermal.c +++ b/drivers/thermal/of-thermal.c @@ -334,6 +334,8 @@ static int of_thermal_set_trip_temp(struct thermal_zone_device *tz, int trip, /* thermal framework should take care of data->mask & (1 << trip) */ data->trips[trip].temperature = temp; + thermal_zone_device_update(tz); + return 0; }