OSDN Git Service

media: atomisp: report colorspace information
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 30 Oct 2021 11:01:30 +0000 (12:01 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 15 Nov 2021 08:11:42 +0000 (08:11 +0000)
commit2b806251a5b03ec3c95310253682be2351e6505b
tree5af67f31697dd3a942a398c9634a2d8d4ee40411
parent6c84a35d781525696fcbeeed8c60d96a63811067
media: atomisp: report colorspace information

While different sensors could have different colorspaces, the
colorspace V4L2 support didn't exist by the time atomisp driver
was written. So, the sensors won't have any data about that.

So, let's report what Asus T101HA uses (ov2680 sensor).

It may require further changes, if other sensors used on this
driver have different colorspaces.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_cmd.c
drivers/staging/media/atomisp/pci/atomisp_ioctl.c