summaryrefslogtreecommitdiff
path: root/doc/develop
diff options
context:
space:
mode:
authorYang Xiwen <[email protected]>2023-08-18 01:04:02 +0800
committerSean Anderson <[email protected]>2023-11-01 15:14:51 -0400
commitc4b52fda6924e92c6745351f32c4cafc36034170 (patch)
tree53de5a5313f93be89db394ba90ce924415ab6674 /doc/develop
parent0755db477fa7478e2659568bb7da038a9eaabb8d (diff)
clk: also handle ENOENT in *_optional functions
If the device does not specify any clocks in device tree, these functions will return PTR_ERR(-ENOENT). This is not the intended behavior and does not comply with linux kernel CCF. Fix that by returning NULL under such circumstances instead. Signed-off-by: Yang Xiwen <[email protected]> Reviewed-by: Sean Anderson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions