summaryrefslogtreecommitdiff
path: root/fs/pnode.h
diff options
context:
space:
mode:
authorMike Turquette <mturquette@linaro.org>2013-08-22 06:58:09 (GMT)
committerMike Turquette <mturquette@linaro.org>2013-08-22 06:58:09 (GMT)
commit89ac8d7ae1cde0f8c7a2f85c2e3b475d54aa9163 (patch)
tree840a7dba0e72740e9155fa57974a46728015faeb /fs/pnode.h
parentbddbd13453d838a30baf84869c56076c8ce2b211 (diff)
downloadlinux-fsl-qoriq-89ac8d7ae1cde0f8c7a2f85c2e3b475d54aa9163.tar.xz
clk: handle NULL struct clk gracefully
At some point changes to clk_set_rate and clk_set_parent introduced a bug whereby NULL struct clk pointers were treated as an error. This is in violation of the API in include/linux/clk.h. Reintroduce graceful handling of NULL clk's by bailing from clk_set_rate and clk_set_parent with return codes of zero. Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'fs/pnode.h')
0 files changed, 0 insertions, 0 deletions