Merge branch 'for-5.4' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.5
This commit is contained in:
@@ -152,8 +152,10 @@ static ssize_t sof_dfsentry_write(struct file *file, const char __user *buffer,
|
||||
*/
|
||||
dentry = file->f_path.dentry;
|
||||
if (strcmp(dentry->d_name.name, "ipc_flood_count") &&
|
||||
strcmp(dentry->d_name.name, "ipc_flood_duration_ms"))
|
||||
return -EINVAL;
|
||||
strcmp(dentry->d_name.name, "ipc_flood_duration_ms")) {
|
||||
ret = -EINVAL;
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (!strcmp(dentry->d_name.name, "ipc_flood_duration_ms"))
|
||||
flood_duration_test = true;
|
||||
|
||||
Reference in New Issue
Block a user