[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>
This commit is contained in:
parent
0316b89ae0
commit
3bc1953b22
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue