Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AD2C4C7619A for ; Tue, 11 Apr 2023 11:01:14 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9A1C885F86; Tue, 11 Apr 2023 13:01:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1681210871; bh=19DYyjccfumuDJ6ia5/8qRTi6kBJJLqZ6ZPywNQQesY=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Reply-To:From; b=rXuBDO3RBC/4dESyAJcLk22BFJlXwcxREt4UnyrGyNSzRxJPdcUxSRZO2TftPAdWS EPzKnr/hnh4Wgc1nx+8YiiLwVXEt5wwqABQZPVHh5hI+kmpsOR5oR+84XZBBK59iTO YxENTP9+idyRV6N6I52IXFv8U1Jdu5P4Os5HPe/LZ2xF/gaODPZDcxgfCs9TjsZwMk AlV8Rd6ifhfVUOy5tUvRi64ku1QnRaHk8/fOhTlKo1pC1Ixa4np0l0TaHWbS6+GgSw ljz5QO80sX9mVNUCIyGMurIQiehNHacsHv4lXeWs08X/BAZn54mRYFhJSHuwaoxga7 r7fhHHtk6CFTw== Received: from [192.168.1.107] (89-186-115-51.pool.digikabel.hu [89.186.115.51]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: hs@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 39AC981E3E; Tue, 11 Apr 2023 13:00:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1681210850; bh=19DYyjccfumuDJ6ia5/8qRTi6kBJJLqZ6ZPywNQQesY=; h=Reply-To:Subject:To:Cc:References:From:Date:In-Reply-To:From; b=oZKwB8MmMITDlCH9U5Dl8ki/YyZOTe5W+dNwc5RlpPdOHxcShHMzq2dhOceivBV2L 1ih1/lp0HDlMU7PA8I9fZr9xjGZkumLHTQFRuBi3OFVTIZjMicPYdh0UjYcbGWSaky 8Q93TiqX5xELK5laQ7rh2aHMpV8jmYyR8RNNMK8tzHuO31qJ56dtjQjIR8tIVfXtZ9 cv/F9WfsN0NbhT9f2j+l/inFztiB4EBo8Ch3a5kcyEBjAHcleo0IfuXpbSVd2773Hp 8u54KY7DmMDhLLdhM1jeaDH1Ggt5KM7+8UHwbMYs+aMnr3+oLXz6ibk6pqQQuy1wnU Om7hKeYlfmfBA== Subject: Re: [PATCH] i2c: imx_lpi2c: Fix misuse the IS_ENABLED for DM clock To: "Peng Fan (OSS)" Cc: u-boot@lists.denx.de, Ye Li , Peng Fan References: <20230406102636.18472-1-peng.fan@oss.nxp.com> From: Heiko Schocher Message-ID: <4f250a8a-f105-9fb8-9f2e-c72dbbc71c87@denx.de> Date: Tue, 11 Apr 2023 13:00:47 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20230406102636.18472-1-peng.fan@oss.nxp.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: hs@denx.de Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Hello Peng, On 06.04.23 12:26, Peng Fan (OSS) wrote: > From: Ye Li > > The IS_ENABLED, which does not consider SPL build, should be replaced > by CONFIG_IS_ENABLED. > For the case that we only enable DM CLK for u-boot but not in SPL, the > IS_ENABLED(CONFIG_CLK) still returns true, then cause clock failure. > > Reviewed-by: Peng Fan > Signed-off-by: Ye Li > Signed-off-by: Peng Fan > --- > drivers/i2c/imx_lpi2c.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied to u-boot-i2c.git master Thanks! bye, Heiko -- DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs@denx.de