mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
i2400m: debugfs return code is wrong
Missing a break Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
b010520ab3
commit
01872c641f
@ -209,6 +209,7 @@ int debugfs_i2400m_reset_set(void *data, u64 val)
|
||||
result = i2400m_reset(i2400m, rt);
|
||||
if (result >= 0)
|
||||
result = 0;
|
||||
break;
|
||||
default:
|
||||
result = -EINVAL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user