aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBard Liao <bardliao@realtek.com>2014-11-05 21:00:00 -0500
committerMark Brown <broonie@kernel.org>2014-11-06 00:51:00 -0500
commitf8c101bc357d509291f6accb6f62b8439158a203 (patch)
tree0b910832dd7510408c2e6ac176e3f34db90f1f48
parent6c67cde2aa88bb06cd039aa0f61b26df887075d7 (diff)
ASoC: rt286: fix comment style
Adds spaces around the /* */. Signed-off-by: Bard Liao <bardliao@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/rt286.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/codecs/rt286.c b/sound/soc/codecs/rt286.c
index d4acb64f477e..2e818aaca550 100644
--- a/sound/soc/codecs/rt286.c
+++ b/sound/soc/codecs/rt286.c
@@ -191,7 +191,7 @@ static int rt286_hw_write(void *context, unsigned int reg, unsigned int value)
191 u8 data[4]; 191 u8 data[4];
192 int ret, i; 192 int ret, i;
193 193
194 /*handle index registers*/ 194 /* handle index registers */
195 if (reg <= 0xff) { 195 if (reg <= 0xff) {
196 rt286_hw_write(client, RT286_COEF_INDEX, reg); 196 rt286_hw_write(client, RT286_COEF_INDEX, reg);
197 for (i = 0; i < INDEX_CACHE_SIZE; i++) { 197 for (i = 0; i < INDEX_CACHE_SIZE; i++) {
@@ -234,7 +234,7 @@ static int rt286_hw_read(void *context, unsigned int reg, unsigned int *value)
234 __be32 be_reg; 234 __be32 be_reg;
235 unsigned int index, vid, buf = 0x0; 235 unsigned int index, vid, buf = 0x0;
236 236
237 /*handle index registers*/ 237 /* handle index registers */
238 if (reg <= 0xff) { 238 if (reg <= 0xff) {
239 rt286_hw_write(client, RT286_COEF_INDEX, reg); 239 rt286_hw_write(client, RT286_COEF_INDEX, reg);
240 reg = RT286_PROC_COEF; 240 reg = RT286_PROC_COEF;
@@ -1281,11 +1281,11 @@ static int rt286_i2c_probe(struct i2c_client *i2c,
1281 mdelay(10); 1281 mdelay(10);
1282 1282
1283 regmap_write(rt286->regmap, RT286_MISC_CTRL1, 0x0000); 1283 regmap_write(rt286->regmap, RT286_MISC_CTRL1, 0x0000);
1284 /*Power down LDO, VREF*/ 1284 /* Power down LDO, VREF */
1285 regmap_update_bits(rt286->regmap, RT286_POWER_CTRL2, 0xc, 0x0); 1285 regmap_update_bits(rt286->regmap, RT286_POWER_CTRL2, 0xc, 0x0);
1286 regmap_update_bits(rt286->regmap, RT286_POWER_CTRL1, 0x1001, 0x1001); 1286 regmap_update_bits(rt286->regmap, RT286_POWER_CTRL1, 0x1001, 0x1001);
1287 1287
1288 /*Set depop parameter*/ 1288 /* Set depop parameter */
1289 regmap_update_bits(rt286->regmap, RT286_DEPOP_CTRL2, 0x403a, 0x401a); 1289 regmap_update_bits(rt286->regmap, RT286_DEPOP_CTRL2, 0x403a, 0x401a);
1290 regmap_update_bits(rt286->regmap, RT286_DEPOP_CTRL3, 0xf777, 0x4737); 1290 regmap_update_bits(rt286->regmap, RT286_DEPOP_CTRL3, 0xf777, 0x4737);
1291 regmap_update_bits(rt286->regmap, RT286_DEPOP_CTRL4, 0x00ff, 0x003f); 1291 regmap_update_bits(rt286->regmap, RT286_DEPOP_CTRL4, 0x00ff, 0x003f);