summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/tvp5150.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-06-10 20:26:15 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-07-04 13:43:19 +0300
commit477d4d38b93d457d6391a864dcfcc114a8b44060 (patch)
treecd05793202a9547f7db72134bd9abeebc0d42c0c /drivers/media/i2c/tvp5150.c
parentec050e022f8da39c2c9d6f4eb8c7f343fe2664ad (diff)
downloadlinux-477d4d38b93d457d6391a864dcfcc114a8b44060.tar.xz
media: pxa_camera: remove an impossible condition
It's not possible for "pcdev->mclk" to be zero because we check for that earlier and set it to 20000000 in that situation. If it were possible, that would be a problem because it could have lead to an Oops in the error handling when we call v4l2_clk_unregister(pcdev->mclk_clk); Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/i2c/tvp5150.c')
0 files changed, 0 insertions, 0 deletions