From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ismael Luceno Cortes Date: Mon, 15 Apr 2019 12:31:03 +0000 Subject: [U-Boot] [PATCH v4] cmd: clk: Handle ENODEV from clk_get_rate In-Reply-To: <20190318122653.5620-1-ismael.luceno@silicon-gears.com> References: <20190318122653.5620-1-ismael.luceno@silicon-gears.com> Message-ID: <20190415123103.GC5489@kiki> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 18/Mar/2019 13:26, Ismael Luceno wrote: > clk_get_rate may return -ENODEV if the clock isn't valid. > > Also, make the error cases go through a single path. > > Fixes: ff8eee0330a6 ("cmd: clk: Add trivial implementation of clock dump > for DM") > > Signed-off-by: Ismael Luceno > Reviewed-by: Matthias Brugger > Reviewed-by: Marek Vasut <...> Ping.