Commit 01872c64 authored by Alan Cox's avatar Alan Cox Committed by Jiri Kosina

i2400m: debugfs return code is wrong

Missing a break
Signed-off-by: default avatarAlan Cox <>
Signed-off-by: default avatarJiri Kosina <>
parent b010520a
......@@ -209,6 +209,7 @@ int debugfs_i2400m_reset_set(void *data, u64 val)
result = i2400m_reset(i2400m, rt);
if (result >= 0)
result = 0;
result = -EINVAL;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment