media: tuners/it913x.c: fix missing error code
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 20 Jan 2021 08:39:20 +0000 (09:39 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 27 Jan 2021 07:33:01 +0000 (08:33 +0100)
commitfec9b0e8491649386559dc154c113f569f908e6e
treef141dbabd84ad9b00aa7cc82f23234b76bda193d
parent7692057d9cc5f534a47ce1fea6648bfed9f130f8
media: tuners/it913x.c: fix missing error code

Fixes this smatch warning:

drivers/media/tuners/it913x.c:65 it913x_init() warn: missing error code 'ret'

Set ret to -EINVAL if the clock identifier was invalid.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/tuners/it913x.c