Skip to content

Commit f28f7c2

Browse files
committed
fixup! ASoC: tas2764: Add optional 'Apple quirks'
Fix fallthrough warning and remove stray spaces before tabs for indenting. Signed-off-by: Janne Grunau <j@jannau.net>
1 parent cb67a58 commit f28f7c2

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

sound/soc/codecs/tas2764-quirks.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ struct reg_sequence tas2764_dmod_rst_seq[] = {
4040

4141
struct reg_sequence tas2764_unk_seq0[] = {
4242
REG_SEQ0(TAS2764_REG(0x1, 0x33), 0x80),
43-
REG_SEQ0(TAS2764_REG(0x1, 0x37), 0x3a),
43+
REG_SEQ0(TAS2764_REG(0x1, 0x37), 0x3a),
4444
};
4545

4646
/*
@@ -137,17 +137,17 @@ static int tas2764_do_quirky_pwr_ctrl_change(struct tas2764_priv *tas2764,
137137

138138
ret = snd_soc_component_update_bits(tas2764->component,
139139
TAS2764_PWR_CTRL,
140-
TAS2764_PWR_CTRL_MASK,
141-
TAS2764_PWR_CTRL_SHUTDOWN);
140+
TAS2764_PWR_CTRL_MASK,
141+
TAS2764_PWR_CTRL_SHUTDOWN);
142142
if (ret > 0)
143143
break;
144144

145145
ret = regmap_multi_reg_write(tas2764->regmap, tas2764_post_shutdown_seq,
146146
ARRAY_SIZE(tas2764_post_shutdown_seq));
147-
147+
fallthrough;
148148
default:
149149
ret = snd_soc_component_update_bits(tas2764->component, TAS2764_PWR_CTRL,
150-
TAS2764_PWR_CTRL_MASK, target);
150+
TAS2764_PWR_CTRL_MASK, target);
151151
}
152152
#undef TRANSITION
153153

0 commit comments

Comments
 (0)