media: camss: vfe: Rework vfe_hw_version_read() function definition
authorRobert Foss <robert.foss@linaro.org>
Mon, 26 Jul 2021 08:01:13 +0000 (10:01 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 30 Sep 2021 08:07:37 +0000 (10:07 +0200)
commitd2e86540366e1701baf852ee0301323ff113459c
tree866f640f724873627100fa29050f9d0fb0b3d7c0
parent5ad5866737991d83cb4a74a02d0c32a18adb9246
media: camss: vfe: Rework vfe_hw_version_read() function definition

Expose the VFE version by returning the value read from the HW_VERSION
register.

Secondly, change the name of this function to conform with the CSID
equivalent.

Signed-off-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/qcom/camss/camss-vfe-170.c
drivers/media/platform/qcom/camss/camss-vfe-4-1.c
drivers/media/platform/qcom/camss/camss-vfe-4-7.c
drivers/media/platform/qcom/camss/camss-vfe-4-8.c
drivers/media/platform/qcom/camss/camss-vfe.c
drivers/media/platform/qcom/camss/camss-vfe.h