Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb8d1aa7 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (3385): Return -EINVAL for unknown commands in msp3400 module.



- Return -EINVAL for unknown commands.

Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 27487d44
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1031,8 +1031,8 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg)
	}

	default:
		/* nothing */
		break;
		/* unknown */
		return -EINVAL;
	}
	return 0;
}