media: vicodec: stateless codecs do not have EOS and SOURCE_CHANGE events

Return an error when attempting to subscribe to those events
for a stateless codec.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
Hans Verkuil 2019-06-06 06:00:30 -04:00 • committed by Mauro Carvalho Chehab
commit 3b6813d6f5