Skip to content

Commit

Permalink
arm: zynq: timer: Fix comment style
Browse files Browse the repository at this point in the history
Fixing multi line comment style at two locations.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Tested-by: Josh Cartwright <josh.cartwright@ni.com>
  • Loading branch information
Soren Brinkmann authored and Michal Simek committed Jan 28, 2013
1 parent 7a64597 commit 03377e5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions arch/arm/mach-zynq/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@

#define XTTCPS_CNT_CNTRL_DISABLE_MASK 0x1

/* Setup the timers to use pre-scaling, using a fixed value for now that will
/*
* Setup the timers to use pre-scaling, using a fixed value for now that will
* work across most input frequency, but it may need to be more dynamic
*/
#define PRESCALE_EXPONENT 11 /* 2 ^ PRESCALE_EXPONENT = PRESCALE */
Expand Down Expand Up @@ -89,8 +90,10 @@ static void xttcps_set_interval(struct xttcps_timer *timer,

__raw_writel(cycles, timer->base_addr + XTTCPS_INTR_VAL_OFFSET);

/* Reset the counter (0x10) so that it starts from 0, one-shot
mode makes this needed for timing to be right. */
/*
* Reset the counter (0x10) so that it starts from 0, one-shot
* mode makes this needed for timing to be right.
*/
ctrl_reg |= CNT_CNTRL_RESET;
ctrl_reg &= ~XTTCPS_CNT_CNTRL_DISABLE_MASK;
__raw_writel(ctrl_reg, timer->base_addr + XTTCPS_CNT_CNTRL_OFFSET);
Expand Down

0 comments on commit 03377e5

Please sign in to comment.