summaryrefslogtreecommitdiff
path: root/rust/kernel/processor.rs
diff options
context:
space:
mode:
authorBrian Masney <bmasney@redhat.com>2025-08-11 08:48:07 -0400
committerBrian Masney <bmasney@redhat.com>2025-09-08 12:50:55 -0400
commitfa55aea3dcdb309d8c4cc307dedd6c9390d8185e (patch)
tree86470c32720ae22aaf9b1d0569f9d60b7a7d5358 /rust/kernel/processor.rs
parentec70154c8a5f69604bb7796fd1fe40d22e9396b5 (diff)
clk: ti: dpll: change error return from ~0 to -EINVAL
When the requested rate cannot be achieved, omap2_dpll_round_rate() will return ~0. Let's change this to -EINVAL to make the code a little cleaner to read. This is no functional change. Tested-by: Anddreas Kemnade <andreas@kemnade.info> # OMAP3 GTA04, OMAP4 Panda Reviewed-by: Kevin Hilman <khilman@baylibre.com> Tested-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Brian Masney <bmasney@redhat.com>
Diffstat (limited to 'rust/kernel/processor.rs')
0 files changed, 0 insertions, 0 deletions