Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751319AbdHDHb0 (ORCPT ); Fri, 4 Aug 2017 03:31:26 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:49941 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751283AbdHDHbZ (ORCPT ); Fri, 4 Aug 2017 03:31:25 -0400 Date: Fri, 4 Aug 2017 09:31:23 +0200 From: Boris Brezillon To: Arvind Yadav Cc: richard@nod.at, dwmw2@infradead.org, computersforpeace@gmail.com, marek.vasut@gmail.com, cyrille.pitchen@wedev4u.fr, narmstrong@baylibre.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/6] Handle clk_prepare_enable/clk_disable_unprepare. Message-ID: <20170804093123.48e49db1@bbrezillon> In-Reply-To: <1501587309-20900-1-git-send-email-arvind.yadav.cs@gmail.com> References: <1501587309-20900-1-git-send-email-arvind.yadav.cs@gmail.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1159 Lines: 29 On Tue, 1 Aug 2017 17:05:08 +0530 Arvind Yadav wrote: > clk_prepare_enable() can fail here and we must check its return value. > *_probe() can fail here and we must disable clock. > > Arvind Yadav (6): > [PATCH 1/6] mtd: nand: denali: Handle return value of clk_prepare_enable. > [PATCH 2/6] mtd: oxnas_nand: Handle clk_prepare_enable/clk_disable_unprepare. > [PATCH 3/6] mtd: nand: lpc32xx_slc: Handle return value of clk_prepare_enable. > [PATCH 4/6] mtd: nand: vf610_nfc: Handle return value of clk_prepare_enable. > [PATCH 5/6] mtd: nand: lpc32xx_mlc: Handle return value of clk_prepare_enable. > [PATCH 6/6] mtd: st_spi_fsm: Handle clk_prepare_enable/clk_disable_unprepare. Applied everything except patch 4. Thanks, Boris > > drivers/mtd/devices/st_spi_fsm.c | 20 ++++++++++++-------- > drivers/mtd/nand/denali_dt.c | 4 +++- > drivers/mtd/nand/lpc32xx_mlc.c | 9 +++++++-- > drivers/mtd/nand/lpc32xx_slc.c | 9 +++++++-- > drivers/mtd/nand/oxnas_nand.c | 25 ++++++++++++++++++------- > drivers/mtd/nand/vf610_nfc.c | 5 ++++- > 6 files changed, 51 insertions(+), 21 deletions(-) >