Skip to content
Snippets Groups Projects
Commit 01872c64 authored by Alan Cox's avatar Alan Cox Committed by Jiri Kosina
Browse files

i2400m: debugfs return code is wrong


Missing a break

Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent b010520a
No related branches found
No related tags found
No related merge requests found
...@@ -209,6 +209,7 @@ int debugfs_i2400m_reset_set(void *data, u64 val) ...@@ -209,6 +209,7 @@ int debugfs_i2400m_reset_set(void *data, u64 val)
result = i2400m_reset(i2400m, rt); result = i2400m_reset(i2400m, rt);
if (result >= 0) if (result >= 0)
result = 0; result = 0;
break;
default: default:
result = -EINVAL; result = -EINVAL;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment