[PATCH 511/577] staging: dt3155v4l: last fix to correct a bug introduces a bug. Correct it.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Marin Mitov <mitov@xxxxxxxxxxx>

The previous patch "use_local_copy_qtype_ops.patch"

http://lkml.org/lkml/2010/5/9/40

has introduced a new BUG.

This patch corrects it.

Signed-off-by: Marin Mitov <mitov@xxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
---
 drivers/staging/dt3155v4l/dt3155v4l.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/dt3155v4l/dt3155v4l.c b/drivers/staging/dt3155v4l/dt3155v4l.c
index a5e4091..4946361 100644
--- a/drivers/staging/dt3155v4l/dt3155v4l.c
+++ b/drivers/staging/dt3155v4l/dt3155v4l.c
@@ -612,7 +612,7 @@ dt3155_queue_dma_contig_init(struct videobuf_queue *q,
 					unsigned int msize,
 					void *priv)
 {
-	struct dt3155_priv *pd = q->priv_data;
+	struct dt3155_priv *pd = priv;
 
 	videobuf_queue_dma_contig_init(q, ops, dev, irqlock,
 				       type, field, msize, priv);
-- 
1.7.0.3

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux