Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3653927pxb; Mon, 24 Jan 2022 14:31:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJzrlKa55QRT8bNWl7p64s4bTo93xonuxR8BoXPpBcxHOp9k+5glT4yzhGrnnoV1IUFVnrD0 X-Received: by 2002:a62:4c3:0:b0:4c2:7817:7360 with SMTP id 186-20020a6204c3000000b004c278177360mr15922533pfe.24.1643063513232; Mon, 24 Jan 2022 14:31:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643063513; cv=none; d=google.com; s=arc-20160816; b=qZBMkh5lWVbTWipmVMkhyH1ZHfVekxlDk0O+aOKnBjUdxT78FFz8LNJAEKbEsLnZK/ AQSuS9VAaIVcdp0OrOAkLL0BQHgOa/HAYmoeOaGFjOVSrW9yRDwuRn3ilGCMx95txjfe J3LA1mzdK7G7XeX3snxElLavEoXz5Up7QAPoY++r7KJFFMfQG9yYm9vDQXYXuq0whVzo ekzwJ0CLm436ogfYbJNvNpD4JzHrIxIEQGH3ZZNV1iD0fNLpUOzIL5PbZsSZ8E4rcYs0 L03J5nZM/MHepzFGaM3CXTnKVys+xYhjuoEi6FSrs1DPskpxTrFgL50jX0xcu+ykDI/j ozZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=okWP61zaVyc9yvmN3yrlalTmZyhuGiL1FaG5XCLB4J8=; b=F+wk7JZ3Bv4jdOjCE3dHJqZaWsQPnTK2PYSFkDYERMFXvK4voZ6X8dieWN/IJcZD7M w1je7vuoRW0+kLZDxVFYj46svgW4ig0LkAr6M+CIvvONOA1bayn59iRc93ufDAJ45Ic2 DlSr01c/s/GNC6YRzu5LFwfbDzJYV6KtU3kGEgcM7aQ1deKfxqV5Byl/KuGIijtqJjOs kQ6658bk5ZD1iQ4f9oM4XSfl4gLYNFDlJl9vchMVVgLg4KyWTrIv+Vxjj3KhBJ3sktL8 UP6kf4xW9l/9mkCV8M2hW42vlmoJBE679N7G0/WIZwtzxDSTV92j4Tc+WsufNeWFxL0C n2NA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=td2SgnJ0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b1si14119915pgw.189.2022.01.24.14.31.41; Mon, 24 Jan 2022 14:31:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=td2SgnJ0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1586580AbiAXW05 (ORCPT + 99 others); Mon, 24 Jan 2022 17:26:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1390829AbiAXVM6 (ORCPT ); Mon, 24 Jan 2022 16:12:58 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBA0BC06E000; Mon, 24 Jan 2022 12:10:16 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 69219611CD; Mon, 24 Jan 2022 20:10:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3A4FFC340E7; Mon, 24 Jan 2022 20:10:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643055015; bh=fdw1b/O5jRA9uMPseswenIy2CXbtFeNmPjVBedmsMlQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=td2SgnJ0OWxhx+8fUUPIAPGyb5LD4SNc7IKWJdA1sL4PWqrYo+yjVY3Si+edSz/Sf 2SAFl7DqKF1SP484HOjBxAN7P/KrOAdgqHRotzEWeZrc8pkwbAUBhobPa09/U5oUjT eZ8EC+9VM51IIwg6kFOaHEJYPgh7147y0XgS+JI4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Stefan Riedmueller , Han Xu , Miquel Raynal Subject: [PATCH 5.15 014/846] mtd: rawnand: gpmi: Remove explicit default gpmi clock setting for i.MX6 Date: Mon, 24 Jan 2022 19:32:11 +0100 Message-Id: <20220124184101.407137179@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184100.867127425@linuxfoundation.org> References: <20220124184100.867127425@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Stefan Riedmueller commit aa1baa0e6c1aa4872e481dce4fc7fd6f3dd8496b upstream. There is no need to explicitly set the default gpmi clock rate during boot for the i.MX 6 since this is done during nand_detect anyway. Signed-off-by: Stefan Riedmueller Cc: stable@vger.kernel.org Acked-by: Han Xu Signed-off-by: Miquel Raynal Link: https://lore.kernel.org/linux-mtd/20211102202022.15551-1-ceggers@arri.de Signed-off-by: Greg Kroah-Hartman --- drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 9 --------- 1 file changed, 9 deletions(-) --- a/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c +++ b/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c @@ -1054,15 +1054,6 @@ static int gpmi_get_clks(struct gpmi_nan r->clock[i] = clk; } - if (GPMI_IS_MX6(this)) - /* - * Set the default value for the gpmi clock. - * - * If you want to use the ONFI nand which is in the - * Synchronous Mode, you should change the clock as you need. - */ - clk_set_rate(r->clock[0], 22000000); - return 0; err_clock: