commit | 0e845c897ed10f7780e467ddf3896f478f7e6349 | [log] [tgz] |
---|---|---|
author | Lukasz Majewski <lukma@denx.de> | Mon Jun 24 15:50:37 2019 +0200 |
committer | Stefano Babic <sbabic@denx.de> | Fri Jul 19 14:50:30 2019 +0200 |
tree | 2b5b7146592ffa5ea6798aee1dd4535fcccafc18 | |
parent | 2c30fa40d2c98f0f4eed89e4e872c26a9b80326b [diff] |
clk: Remove clock ID check in .get_rate() of clk_fixed_* 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 <lukma@denx.de> Reviewed-by: Peng Fan <peng.fan@nxp.com>