staging: comedi: file: Removed whitespaces before quoted newlines
Unnecessary whitespaces before quoted newlines Signed-off-by: Maurice Dawson <mauricedawson2699@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
39d70a4ab1
commit
a285bf995d
|
@ -1234,7 +1234,7 @@ static int Compute_and_setup_dma(struct comedi_device *dev)
|
|||
* align to 32bit down
|
||||
*/
|
||||
}
|
||||
DPRINTK("2 dmalen0=%d dmalen1=%d \n", dmalen0, dmalen1);
|
||||
DPRINTK("2 dmalen0=%d dmalen1=%d\n", dmalen0, dmalen1);
|
||||
|
||||
/* we want wake up every scan? */
|
||||
if (devpriv->ai_flags & TRIG_WAKE_EOS) {
|
||||
|
@ -1294,7 +1294,7 @@ static int Compute_and_setup_dma(struct comedi_device *dev)
|
|||
}
|
||||
}
|
||||
|
||||
DPRINTK("3 dmalen0=%d dmalen1=%d \n", dmalen0, dmalen1);
|
||||
DPRINTK("3 dmalen0=%d dmalen1=%d\n", dmalen0, dmalen1);
|
||||
/* transfer without TRIG_WAKE_EOS */
|
||||
if (!(devpriv->ai_flags & TRIG_WAKE_EOS)) {
|
||||
/* if it's possible then allign DMA buffers to length of scan */
|
||||
|
@ -1322,13 +1322,13 @@ static int Compute_and_setup_dma(struct comedi_device *dev)
|
|||
((devpriv->ai_n_realscanlen << 1) *
|
||||
devpriv->ai_scans)) {
|
||||
DPRINTK
|
||||
("3.0 ai_n_realscanlen=%d ai_scans=%d \n",
|
||||
("3.0 ai_n_realscanlen=%d ai_scans=%d\n",
|
||||
devpriv->ai_n_realscanlen,
|
||||
devpriv->ai_scans);
|
||||
dmalen0 =
|
||||
(devpriv->ai_n_realscanlen << 1) *
|
||||
devpriv->ai_scans;
|
||||
DPRINTK("3.1 dmalen0=%d dmalen1=%d \n", dmalen0,
|
||||
DPRINTK("3.1 dmalen0=%d dmalen1=%d\n", dmalen0,
|
||||
dmalen1);
|
||||
dmalen0 &= ~3L;
|
||||
} else { /*
|
||||
|
@ -1341,21 +1341,21 @@ static int Compute_and_setup_dma(struct comedi_device *dev)
|
|||
dmalen1 =
|
||||
(devpriv->ai_n_realscanlen << 1) *
|
||||
devpriv->ai_scans - dmalen0;
|
||||
DPRINTK("3.2 dmalen0=%d dmalen1=%d \n", dmalen0,
|
||||
DPRINTK("3.2 dmalen0=%d dmalen1=%d\n", dmalen0,
|
||||
dmalen1);
|
||||
dmalen1 &= ~3L;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
DPRINTK("4 dmalen0=%d dmalen1=%d \n", dmalen0, dmalen1);
|
||||
DPRINTK("4 dmalen0=%d dmalen1=%d\n", dmalen0, dmalen1);
|
||||
|
||||
/* these DMA buffer size will be used */
|
||||
devpriv->dma_actbuf = 0;
|
||||
devpriv->dmabuf_use_size[0] = dmalen0;
|
||||
devpriv->dmabuf_use_size[1] = dmalen1;
|
||||
|
||||
DPRINTK("5 dmalen0=%d dmalen1=%d \n", dmalen0, dmalen1);
|
||||
DPRINTK("5 dmalen0=%d dmalen1=%d\n", dmalen0, dmalen1);
|
||||
#if 0
|
||||
if (devpriv->ai_n_scanlen < this_board->half_fifo_size) {
|
||||
devpriv->dmabuf_panic_size[0] =
|
||||
|
|
Loading…
Reference in New Issue