commit | ec8f1c02dd0c2e8b7302072b3956a9c56139a139 | [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 | a9092710c5821c4b0d95559c788f13d6804cbd63 [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>