
25 Jul
2018
25 Jul
'18
4:45 a.m.
On 24 July 2018 at 08:31, Fabrice Gasnier fabrice.gasnier@st.com wrote:
Add clk_valid() to check for optional clocks are valid. Call clk_valid() in test/dm/clk.c and add relevant test routine to sandbox clk tests.
Signed-off-by: Fabrice Gasnier fabrice.gasnier@st.com
Changes in v2:
- add test case for 'clk_valid()', e.g. in test/dm/clk.c and sandbox.
- Update TRUE/FALSE comments to lower case: true/false
arch/sandbox/include/asm/clk.h | 8 ++++++++ drivers/clk/clk_sandbox_test.c | 13 +++++++++++++ include/clk.h | 10 ++++++++++ test/dm/clk.c | 1 + 4 files changed, 32 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org