[media] media: video: mx2_camera.c: Remove unneeded dev_dbg
[firefly-linux-kernel-4.4.55.git] / drivers / media / video / cx231xx / cx231xx-vbi.c
index 1c7a4daafecf56f2dc382ebc60b291f197dbbb45..8cdee5f78f131a516918cb9525e0ab23fa31b0f8 100644 (file)
@@ -93,7 +93,7 @@ static inline int cx231xx_isoc_vbi_copy(struct cx231xx *dev, struct urb *urb)
        if (!dev)
                return 0;
 
-       if ((dev->state & DEV_DISCONNECTED) || (dev->state & DEV_MISCONFIGURED))
+       if (dev->state & DEV_DISCONNECTED)
                return 0;
 
        if (urb->status < 0) {
@@ -452,7 +452,7 @@ int cx231xx_init_vbi_isoc(struct cx231xx *dev, int max_packets,
                        return -ENOMEM;
                }
                dev->vbi_mode.bulk_ctl.urb[i] = urb;
-               urb->transfer_flags = 0;
+               urb->transfer_flags = URB_NO_TRANSFER_DMA_MAP;
 
                dev->vbi_mode.bulk_ctl.transfer_buffer[i] =
                    kzalloc(sb_size, GFP_KERNEL);