From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751595AbdAaSBg (ORCPT ); Tue, 31 Jan 2017 13:01:36 -0500 Received: from metis.ext.4.pengutronix.de ([92.198.50.35]:32823 "EHLO metis.ext.4.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751380AbdAaSBe (ORCPT ); Tue, 31 Jan 2017 13:01:34 -0500 Message-ID: <1485883318.29355.2.camel@pengutronix.de> Subject: Re: [PATCH 09/14] mtd: nand: sunxi: simplify optional reset handling From: Philipp Zabel To: Boris Brezillon Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Ramiro Oliveira , Icenowy Zheng , Maxime Ripard Date: Tue, 31 Jan 2017 18:21:58 +0100 In-Reply-To: <20170130134427.14487373@bbrezillon> References: <20170130114116.22089-1-p.zabel@pengutronix.de> <20170130114116.22089-9-p.zabel@pengutronix.de> <20170130134427.14487373@bbrezillon> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9-1+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2017-01-30 at 13:44 +0100, Boris Brezillon wrote: > Hi Philipp, > > On Mon, 30 Jan 2017 12:41:11 +0100 > Philipp Zabel wrote: > > > As of commit bb475230b8e5 ("reset: make optional functions really > > optional"), the reset framework API calls use NULL pointers to describe > > optional, non-present reset controls. > > > > This allows to return errors from devm_reset_control_get_optional and to > > call reset_control_(de)assert unconditionally. > > > > Signed-off-by: Philipp Zabel > > Cc: Icenowy Zheng > > Cc: Maxime Ripard > > Cc: Boris Brezillon > > I didn't find commit bb475230b8e5 in mainline, so I guess you plan to > take this patch in your own tree. Let me know if this is not the case. > > Acked-by: Boris Brezillon Thanks, I plan to resend this once bb475230b8e5 hits mainline, for you to merge. regards Philipp