Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1461603

Re: [PATCH] clk: prevent __of_clk_get_hw_from_provider() from returning NULL

From Russell King - ARM Linux <linux@armlinux.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH] clk: prevent __of_clk_get_hw_from_provider() from returning NULL
Date 2016-08-13 09:40 +0200
Message-ID <s5BHY-6id-1@gated-at.bofh.it> (permalink)
References <rWzcl-27O-17@gated-at.bofh.it> <s2xUd-6f1-7@gated-at.bofh.it> <s4G70-8uN-53@gated-at.bofh.it> <s4L6F-3kO-3@gated-at.bofh.it> <s5eLn-6Xs-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Aug 12, 2016 at 03:59:51PM +0900, Masahiro Yamada wrote:
> But, actually, clk_get returns ERR_PTR(-ENOENT) if "clocks" property
> is missing.

Probably because we don't know if that's a case of a partially
converted platform (which doesn't yet have its clk stuff in DT),
so we need to fall back to the table-driven code, or if it really
has no clocks.

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH] clk: prevent __of_clk_get_hw_from_provider() from  returning NULL Stephen Boyd <sboyd@codeaurora.org> - 2016-08-11 01:30 +0200
  Re: [PATCH] clk: prevent __of_clk_get_hw_from_provider() from  returning NULL Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-08-12 09:10 +0200
    Re: [PATCH] clk: prevent __of_clk_get_hw_from_provider() from  returning NULL Russell King - ARM Linux <linux@armlinux.org.uk> - 2016-08-13 09:40 +0200

csiph-web