diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2015-04-28 09:41:03 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-06-05 11:48:32 -0300 |
commit | c62cda97c81309aa77fd2d32820f3f5b925e0ce3 (patch) | |
tree | fbef1956824d997a0c9b021930f873f392ac84b5 /drivers | |
parent | e719a51a46f8e3a3278f160ea29ed5d8e2c23a5d (diff) | |
download | linux-c62cda97c81309aa77fd2d32820f3f5b925e0ce3.tar.gz linux-c62cda97c81309aa77fd2d32820f3f5b925e0ce3.tar.bz2 linux-c62cda97c81309aa77fd2d32820f3f5b925e0ce3.zip |
[media] am437x-vpfe: add support for xfer_func
Make this part of the format check.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Prabhakar Lad <prabhakar.csengg@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/platform/am437x/am437x-vpfe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/platform/am437x/am437x-vpfe.c b/drivers/media/platform/am437x/am437x-vpfe.c index ea971bb0d9c6..1fba339cddc1 100644 --- a/drivers/media/platform/am437x/am437x-vpfe.c +++ b/drivers/media/platform/am437x/am437x-vpfe.c @@ -288,7 +288,8 @@ cmp_v4l2_format(const struct v4l2_format *lhs, const struct v4l2_format *rhs) lhs->fmt.pix.field == rhs->fmt.pix.field && lhs->fmt.pix.colorspace == rhs->fmt.pix.colorspace && lhs->fmt.pix.ycbcr_enc == rhs->fmt.pix.ycbcr_enc && - lhs->fmt.pix.quantization == rhs->fmt.pix.quantization; + lhs->fmt.pix.quantization == rhs->fmt.pix.quantization && + lhs->fmt.pix.xfer_func == rhs->fmt.pix.xfer_func; } static inline u32 vpfe_reg_read(struct vpfe_ccdc *ccdc, u32 offset) |