diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-11-28 09:05:14 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-11-29 08:47:02 +0100 |
commit | 3e689025a5a0e9e9cab038ab2a537a425ca4d5d2 (patch) | |
tree | b04e06a94a0c85bfba1e17d3fd347e8085e2841c /include | |
parent | 159109f5ff2e3b0ee7c44685e2241605ae41b662 (diff) | |
download | barebox-3e689025a5a0e9e9cab038ab2a537a425ca4d5d2.tar.gz barebox-3e689025a5a0e9e9cab038ab2a537a425ca4d5d2.tar.xz |
clk: check for invalid clocks
Checking for invalid clocks on function entry allows users
to for example do a clk_set_rate(clk_lookup("myclk"), x) without
checking for validity of the result of clk_lookup first.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions