Skip to content

Commit 3bdaf69

Browse files
committed
ASoC: Fixes for cs43130
Merge a couple of small fixes for the cs43130, one const correctness issue and one problem with the configuration of left justified format.
2 parents f8ba14b + aa7e8e5 commit 3bdaf69

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sound/soc/codecs/cs43130.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ static int cs43130_set_sp_fmt(int dai_id, unsigned int bitwidth_sclk,
578578
break;
579579
case SND_SOC_DAIFMT_LEFT_J:
580580
hi_size = bitwidth_sclk;
581-
frm_delay = 2;
581+
frm_delay = 0;
582582
frm_phase = 1;
583583
break;
584584
case SND_SOC_DAIFMT_DSP_A:
@@ -1682,7 +1682,7 @@ static ssize_t hpload_dc_r_show(struct device *dev,
16821682
return cs43130_show_dc(dev, buf, HP_RIGHT);
16831683
}
16841684

1685-
static u16 const cs43130_ac_freq[CS43130_AC_FREQ] = {
1685+
static const u16 cs43130_ac_freq[CS43130_AC_FREQ] = {
16861686
24,
16871687
43,
16881688
93,
@@ -2362,7 +2362,7 @@ static const struct regmap_config cs43130_regmap = {
23622362
.use_single_write = true,
23632363
};
23642364

2365-
static u16 const cs43130_dc_threshold[CS43130_DC_THRESHOLD] = {
2365+
static const u16 cs43130_dc_threshold[CS43130_DC_THRESHOLD] = {
23662366
50,
23672367
120,
23682368
};

0 commit comments

Comments
 (0)