diff options
author | Robert Foss <robert.foss@linaro.org> | 2021-08-12 11:21:52 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-09-30 10:07:56 +0200 |
commit | 745b475e7e10ae1e8c538e5db89494411ee1c22b (patch) | |
tree | bed531bd024f49c378446a1a7110996af31828ec /drivers/media/common | |
parent | media: gspca: Limit frame size to sizeimage. (diff) | |
download | linux-745b475e7e10ae1e8c538e5db89494411ee1c22b.tar.xz linux-745b475e7e10ae1e8c538e5db89494411ee1c22b.zip |
media: camss: vfe: Don't call hw_version() before its dependencies are met
vfe->ops->hw_version(vfe) is being called before vfe->base has been
assigned, and before the hardware has been powered up.
Fixes: b10b5334528a9 ("media: camss: vfe: Don't read hardware version needlessly")
Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/common')
0 files changed, 0 insertions, 0 deletions