diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2013-08-31 02:23:31 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-12-11 12:57:49 +0400 |
commit | 86efc5043269df417d6145d912c87aafbed0c5c9 (patch) | |
tree | 832baceee2fd18b8ffe2b064693596913bbd40c3 /drivers/staging/media/omap4iss/iss_regs.h | |
parent | 74536b2ff073ed53d9c449d838938d6e500819f6 (diff) | |
download | linux-86efc5043269df417d6145d912c87aafbed0c5c9.tar.xz |
[media] v4l: omap4iss: ipipeif: Shift input data according to the input format
Input samples must be left-aligned on the ISIF 16-bit data bus.
Configure the 16-to-16-bit selector to shift data according to the input
format.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/staging/media/omap4iss/iss_regs.h')
-rw-r--r-- | drivers/staging/media/omap4iss/iss_regs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/omap4iss/iss_regs.h b/drivers/staging/media/omap4iss/iss_regs.h index d9693519b625..5995e62d3e02 100644 --- a/drivers/staging/media/omap4iss/iss_regs.h +++ b/drivers/staging/media/omap4iss/iss_regs.h @@ -368,7 +368,7 @@ #define ISIF_CGAMMAWD (0x0080) #define ISIF_CGAMMAWD_GWDI_MASK (0xF << 1) -#define ISIF_CGAMMAWD_GWDI_BIT11 (0x4 << 1) +#define ISIF_CGAMMAWD_GWDI(bpp) ((16 - (bpp)) << 1) #define ISIF_CCDCFG (0x0088) #define ISIF_CCDCFG_Y8POS (1 << 11) |