From: sbabic at denx.de Date: Mon, 10 Jun 2019 09:39:33 +0000 (UTC) Subject: [U-Boot] [PATCH v4 03/13] clk: Remove clock ID check in .get_rate() In-Reply-To: <20190516221042.3583-4-lukma@denx.de> Message-ID: <20190610093933.DE0B6C21F8C@lists.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > This check requires the struct clk passed to .get_rate() to be always > cleared out as any clock with valid ID causes -EINVAL return value. > The return code of fixed clocks shall always be returned. > Signed-off-by: Lukasz Majewski > Reviewed-by: Peng Fan > Reviewed-by: Stefano Babic Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================