aboutsummaryrefslogtreecommitdiff
path: root/drivers/clk/kendryte/bypass.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/kendryte/bypass.c')
-rw-r--r--drivers/clk/kendryte/bypass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/kendryte/bypass.c b/drivers/clk/kendryte/bypass.c
index 5f1986f2cb8..bbdbd9a10de 100644
--- a/drivers/clk/kendryte/bypass.c
+++ b/drivers/clk/kendryte/bypass.c
@@ -157,7 +157,7 @@ static int k210_bypass_set_parent(struct clk *clk, struct clk *parent)
if (ops->set_parent)
return ops->set_parent(bypass->bypassee, parent);
else
- return -ENOTSUPP;
+ return -EINVAL;
}
/*