Browse Source

media: ti-vpe: vpe: Fix support for SEQ_BT

This fixes a cut and paste mistake resulting in a duplicated
conditional statement.

Fixes: 6e187592dfdc ("media: ti-vpe: Add support for SEQ_BT")
Signed-off-by: Benoit Parrot <bparrot@ti.com>
Benoit Parrot 7 năm trước cách đây
mục cha
commit
151c8e9794
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      drivers/media/platform/ti-vpe/vpe.c

+ 1 - 1
drivers/media/platform/ti-vpe/vpe.c

@@ -1148,7 +1148,7 @@ static void add_in_dtd(struct vpe_ctx *ctx, int port)
 		 * of TBT or BTB
 		 */
 		if (q_data->flags & Q_DATA_INTERLACED_SEQ_TB ||
-		    q_data->flags & Q_DATA_INTERLACED_SEQ_TB) {
+		    q_data->flags & Q_DATA_INTERLACED_SEQ_BT) {
 			/* Select initial value based on format */
 			if (q_data->flags & Q_DATA_INTERLACED_SEQ_BT)
 				field = 1;