[{"id":1752605,"web_url":"http://patchwork.ozlabs.org/comment/1752605/","msgid":"<b822d556-40e1-f9c9-b135-ae9115ce52a5@ti.com>","list_archive_url":null,"date":"2017-08-21T09:40:13","subject":"Re: [PATCH v2 1/3] i2c: davinci: Preserve return value of\n\tdevm_clk_get","submitter":{"id":3234,"url":"http://patchwork.ozlabs.org/api/people/3234/","name":"Sekhar Nori","email":"nsekhar@ti.com"},"content":"On Thursday 17 August 2017 03:47 AM, Franklin S Cooper Jr wrote:\n> The i2c driver can run into driver dependency issues if its loaded\n> before a clock driver it depends on. Therefore, EPROBE_DEFER may be\n> returned by devm_clk_get and should be returned in probe to allow the\n> kernel to reprobe the driver at a later time. This patch allows the error\n> value returned by devm_clk_get to be passed through and not overwritten.\n> \n> Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>\n> Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>\n\nAcked-by: Sekhar Nori <nsekhar@ti.com>\n\nThanks,\nSekhar","headers":{"Return-Path":"<linux-i2c-owner@vger.kernel.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-i2c-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=ti.com header.i=@ti.com header.b=\"g3AiU7o5\";\n\tdkim-atps=neutral"],"Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xbTG43xb0z9s83\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 21 Aug 2017 19:41:00 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752284AbdHUJk6 (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tMon, 21 Aug 2017 05:40:58 -0400","from fllnx210.ext.ti.com ([198.47.19.17]:45192 \"EHLO\n\tfllnx210.ext.ti.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751831AbdHUJk5 (ORCPT\n\t<rfc822; linux-i2c@vger.kernel.org>); Mon, 21 Aug 2017 05:40:57 -0400","from dlelxv90.itg.ti.com ([172.17.2.17])\n\tby fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id v7L9eIbL017984; \n\tMon, 21 Aug 2017 04:40:18 -0500","from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24])\n\tby dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v7L9eIDL031297; \n\tMon, 21 Aug 2017 04:40:18 -0500","from DFLE109.ent.ti.com (10.64.6.30) by DFLE103.ent.ti.com\n\t(10.64.6.24) with Microsoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34;\n\tMon, 21 Aug 2017 04:40:17 -0500","from DFLE107.ent.ti.com (10.64.6.28) by DFLE109.ent.ti.com\n\t(10.64.6.30) with Microsoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34;\n\tMon, 21 Aug 2017 04:40:17 -0500","from dflp33.itg.ti.com (10.64.6.16) by DFLE107.ent.ti.com\n\t(10.64.6.28) with Microsoft SMTP Server (version=TLS1_0,\n\tcipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend\n\tTransport; Mon, 21 Aug 2017 04:40:17 -0500","from [172.24.190.171] (ileax41-snat.itg.ti.com [10.172.224.153])\n\tby dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v7L9eEha028876;\n\tMon, 21 Aug 2017 04:40:15 -0500"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com;\n\ts=ti-com-17Q1; t=1503308418;\n\tbh=pd5PUs0Uq/OXjJLHpX7YYbv4TItrGBFPaxHI47u8Ons=;\n\th=Subject:To:References:From:Date:In-Reply-To;\n\tb=g3AiU7o5u1T/Bicm9WEzqNmHxK9Soi58iZgYJ/qjMHW3hQkV6WqYMQh1oQCxCJmTg\n\tze1Ugq6T7KhHurdcqhj/rbIHqWnbjxmaM+GzpRkXwVPN4IIqLAsidSpswuOzL06Zb9\n\tbyfIIz9co/1MQRjlMjCl7+mprlawcuBajS2O//lY=","Subject":"Re: [PATCH v2 1/3] i2c: davinci: Preserve return value of\n\tdevm_clk_get","To":"Franklin S Cooper Jr <fcooper@ti.com>, <wsa@the-dreams.de>,\n\t<robh+dt@kernel.org>, <linux@armlinux.org.uk>,\n\t<linux-i2c@vger.kernel.org>, <devicetree@vger.kernel.org>,\n\t<linux-kernel@vger.kernel.org>,\n\t<linux-arm-kernel@lists.infradead.org>, <grygorii.strashko@ti.com>,\n\t<vigneshr@ti.com>","References":"<20170816221715.15027-1-fcooper@ti.com>\n\t<20170816221715.15027-2-fcooper@ti.com>","From":"Sekhar Nori <nsekhar@ti.com>","Message-ID":"<b822d556-40e1-f9c9-b135-ae9115ce52a5@ti.com>","Date":"Mon, 21 Aug 2017 15:10:13 +0530","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.2.1","MIME-Version":"1.0","In-Reply-To":"<20170816221715.15027-2-fcooper@ti.com>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Language":"en-US","Content-Transfer-Encoding":"7bit","X-EXCLAIMER-MD-CONFIG":"e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180","Sender":"linux-i2c-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<linux-i2c.vger.kernel.org>","X-Mailing-List":"linux-i2c@vger.kernel.org"}},{"id":1758255,"web_url":"http://patchwork.ozlabs.org/comment/1758255/","msgid":"<20170827133454.ffroiht5ayfqyr4k@ninjato>","list_archive_url":null,"date":"2017-08-27T13:34:54","subject":"Re: [PATCH v2 1/3] i2c: davinci: Preserve return value of\n\tdevm_clk_get","submitter":{"id":22495,"url":"http://patchwork.ozlabs.org/api/people/22495/","name":"Wolfram Sang","email":"wsa@the-dreams.de"},"content":"On Wed, Aug 16, 2017 at 05:17:13PM -0500, Franklin S Cooper Jr wrote:\n> The i2c driver can run into driver dependency issues if its loaded\n> before a clock driver it depends on. Therefore, EPROBE_DEFER may be\n> returned by devm_clk_get and should be returned in probe to allow the\n> kernel to reprobe the driver at a later time. This patch allows the error\n> value returned by devm_clk_get to be passed through and not overwritten.\n> \n> Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>\n> Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>\n\nApplied to for-next, thanks!\n\nWaiting for V3 of the other patches.","headers":{"Return-Path":"<linux-i2c-owner@vger.kernel.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-i2c-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xgG9K3fPGz9s8w\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 27 Aug 2017 23:35:01 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751351AbdH0Ne6 (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tSun, 27 Aug 2017 09:34:58 -0400","from sauhun.de ([88.99.104.3]:37263 \"EHLO pokefinder.org\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1751338AbdH0Ne6 (ORCPT <rfc822;linux-i2c@vger.kernel.org>);\n\tSun, 27 Aug 2017 09:34:58 -0400","from localhost (p54B33E6E.dip0.t-ipconnect.de [84.179.62.110])\n\tby pokefinder.org (Postfix) with ESMTPSA id BFF7D2C3638;\n\tSun, 27 Aug 2017 15:34:56 +0200 (CEST)"],"Date":"Sun, 27 Aug 2017 15:34:54 +0200","From":"Wolfram Sang <wsa@the-dreams.de>","To":"Franklin S Cooper Jr <fcooper@ti.com>","Cc":"robh+dt@kernel.org, linux@armlinux.org.uk, nsekhar@ti.com,\n\tlinux-i2c@vger.kernel.org, devicetree@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org,\n\tgrygorii.strashko@ti.com, vigneshr@ti.com","Subject":"Re: [PATCH v2 1/3] i2c: davinci: Preserve return value of\n\tdevm_clk_get","Message-ID":"<20170827133454.ffroiht5ayfqyr4k@ninjato>","References":"<20170816221715.15027-1-fcooper@ti.com>\n\t<20170816221715.15027-2-fcooper@ti.com>","MIME-Version":"1.0","Content-Type":"multipart/signed; micalg=pgp-sha256;\n\tprotocol=\"application/pgp-signature\"; boundary=\"4uejk634amjwm7z2\"","Content-Disposition":"inline","In-Reply-To":"<20170816221715.15027-2-fcooper@ti.com>","User-Agent":"NeoMutt/20170113 (1.7.2)","Sender":"linux-i2c-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<linux-i2c.vger.kernel.org>","X-Mailing-List":"linux-i2c@vger.kernel.org"}}]