lkml.org 
[lkml]   [2012]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 5/6] Staging: comedi: fix line over 80 character issue in daqboard2000.c
    On 03/01/12 00:10, Ravishankar karkala Mallikarjunayya wrote:
    > This is a patch to the daqboard2000.c file that fixes up a
    > line over 80 character warning found by the checkpatch.pl tool.
    >
    > Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
    > ---
    > drivers/staging/comedi/drivers/daqboard2000.c | 5 +++--
    > 1 files changed, 3 insertions(+), 2 deletions(-)
    >
    > diff --git a/drivers/staging/comedi/drivers/daqboard2000.c b/drivers/staging/comedi/drivers/daqboard2000.c
    > index e61c6a8..3550c6a 100644
    > --- a/drivers/staging/comedi/drivers/daqboard2000.c
    > +++ b/drivers/staging/comedi/drivers/daqboard2000.c
    > @@ -414,7 +414,7 @@ static int daqboard2000_ai_insn_read(struct comedi_device *dev,
    >
    > /* If pacer clock is not set to some high value (> 10 us), we
    > risk multiple samples to be put into the result FIFO. */
    > - fpga->acqPacerClockDivLow = 1000000; /* 1 second, should be long enough */
    > + /* 1 second, should be long enough */

    You broke the driver here.

    > fpga->acqPacerClockDivHigh = 0;
    >
    > gain = CR_RANGE(insn->chanspec);
    > @@ -526,7 +526,8 @@ static void daqboard2000_pulseProgPin(struct comedi_device *dev)
    > writel(DAQBOARD2000_SECRProgPinHi, devpriv->plx + 0x6c);
    > udelay(10000);
    > writel(DAQBOARD2000_SECRProgPinLo, devpriv->plx + 0x6c);
    > - udelay(10000); /* Not in the original code, but I like symmetry... */
    > + /* Not in the original code, but I like symmetry... */
    > + udelay(10000);
    > }
    >
    > static int daqboard2000_pollCPLD(struct comedi_device *dev, int mask)



    \
     
     \ /
      Last update: 2012-01-02 21:49    [W:0.039 / U:0.064 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site