diff options
author | Manjunath Hadli <manjunath.hadli@ti.com> | 2012-04-13 04:47:17 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-30 19:02:28 -0300 |
commit | 3bc1953b22ba11922190bc76682ece431b6eefff (patch) | |
tree | 70ccb7e071482aa8d843c8602a16fb05bd118924 /drivers/media/video/davinci | |
parent | 0316b89ae0de139875594d7fa0527cb5af69bd69 (diff) | |
download | linux-3bc1953b22ba11922190bc76682ece431b6eefff.tar.gz linux-3bc1953b22ba11922190bc76682ece431b6eefff.tar.bz2 linux-3bc1953b22ba11922190bc76682ece431b6eefff.zip |
[media] davinci: vpif: fix setting of data width in config_vpif_params() function
fix setting of data width in config_vpif_params() function,
which was wrongly set.
Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/davinci')
-rw-r--r-- | drivers/media/video/davinci/vpif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/davinci/vpif.c b/drivers/media/video/davinci/vpif.c index 774bcd3cf50c..8c4ff14377ad 100644 --- a/drivers/media/video/davinci/vpif.c +++ b/drivers/media/video/davinci/vpif.c @@ -346,7 +346,7 @@ static void config_vpif_params(struct vpif_params *vpifparams, value = regr(reg); /* Set data width */ - value &= ((~(unsigned int)(0x3)) << + value &= ~(0x3u << VPIF_CH_DATA_WIDTH_BIT); value |= ((vpifparams->params.data_sz) << VPIF_CH_DATA_WIDTH_BIT); |