@@ -99,9 +99,9 @@ static int st1202_pwm_pattern_write(struct st1202_chip *chip, int led_num,
99
99
value_h = (u8 )(value >> 8 );
100
100
101
101
/*
102
- * Datasheet: Register address low = 1Eh + 2*(xh) + 18h*(yh),
103
- * where x is the channel number (led number) in hexadecimal (x = 00h .. 0Bh)
104
- * and y is the pattern number in hexadecimal (y = 00h .. 07h)
102
+ * Datasheet: Register address low = 1Eh + 2*(xh) + 18h*(yh),
103
+ * where x is the channel number (led number) in hexadecimal (x = 00h .. 0Bh)
104
+ * and y is the pattern number in hexadecimal (y = 00h .. 07h)
105
105
*/
106
106
ret = st1202_write_reg (chip , (ST1202_PATTERN_PWM + (led_num * 2 ) + 0x18 * pattern ),
107
107
value_l );
@@ -298,8 +298,8 @@ static int st1202_setup(struct st1202_chip *chip)
298
298
guard (mutex )(& chip -> lock );
299
299
300
300
/*
301
- * Once the supply voltage is applied, the LED1202 executes some internal checks,
302
- * afterwords it stops the oscillator and puts the internal LDO in quiescent mode.
301
+ * Once the supply voltage is applied, the LED1202 executes some internal checks.
302
+ * Afterwards, it stops the oscillator and puts the internal LDO in quiescent mode.
303
303
* To start the device, EN bit must be set inside the “Device Enable” register at
304
304
* address 01h. As soon as EN is set, the LED1202 loads the adjustment parameters
305
305
* from the internal non-volatile memory and performs an auto-calibration procedure
0 commit comments