diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2019-10-22 14:00:07 +0200 |
---|---|---|
committer | Lukasz Majewski <lukma@denx.de> | 2019-10-22 16:14:05 +0200 |
commit | 9a52be129c5b159269ac69a7ae0197eb02612f1d (patch) | |
tree | 1f2527e776aada5ab0b31d995066b69ce02ca13b /test | |
parent | fd1ba2965244e7628ac3aa539e51653490e1b4fe (diff) | |
download | u-boot-9a52be129c5b159269ac69a7ae0197eb02612f1d.tar.gz u-boot-9a52be129c5b159269ac69a7ae0197eb02612f1d.tar.xz u-boot-9a52be129c5b159269ac69a7ae0197eb02612f1d.zip |
test: clk: test clock self assignment
Make sure that the clock self-assignment works by having a clock of
clk-sbox be configured automatically when clk-sbox is probed.
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/dm/clk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dm/clk.c b/test/dm/clk.c index 3ad0ad8ca3..31335a543f 100644 --- a/test/dm/clk.c +++ b/test/dm/clk.c @@ -74,8 +74,8 @@ static int dm_test_clk(struct unit_test_state *uts) SANDBOX_CLK_TEST_ID_SPI)); ut_asserteq(0, sandbox_clk_test_get_rate(dev_test, SANDBOX_CLK_TEST_ID_I2C)); - ut_asserteq(0, sandbox_clk_test_get_rate(dev_test, - SANDBOX_CLK_TEST_ID_DEVM1)); + ut_asserteq(321, sandbox_clk_test_get_rate(dev_test, + SANDBOX_CLK_TEST_ID_DEVM1)); ut_asserteq(0, sandbox_clk_test_get_rate(dev_test, SANDBOX_CLK_TEST_ID_DEVM2)); |