Skip to content

Commit f38e645

Browse files
committed
Merge tag 'asoc-fix-v5.19-rc8' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v5.19 A few more small fixes, they could all wait for the merge window if you prefer.
2 parents cf33ce6 + 3009796 commit f38e645

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

sound/soc/codecs/lpass-va-macro.c

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ struct va_macro {
199199
struct clk *mclk;
200200
struct clk *macro;
201201
struct clk *dcodec;
202+
struct clk *fsgen;
202203
struct clk_hw hw;
203204
struct lpass_macro *pds;
204205

@@ -467,9 +468,9 @@ static int va_macro_mclk_event(struct snd_soc_dapm_widget *w,
467468

468469
switch (event) {
469470
case SND_SOC_DAPM_PRE_PMU:
470-
return va_macro_mclk_enable(va, true);
471+
return clk_prepare_enable(va->fsgen);
471472
case SND_SOC_DAPM_POST_PMD:
472-
return va_macro_mclk_enable(va, false);
473+
clk_disable_unprepare(va->fsgen);
473474
}
474475

475476
return 0;
@@ -1473,6 +1474,12 @@ static int va_macro_probe(struct platform_device *pdev)
14731474
if (ret)
14741475
goto err_clkout;
14751476

1477+
va->fsgen = clk_hw_get_clk(&va->hw, "fsgen");
1478+
if (IS_ERR(va->fsgen)) {
1479+
ret = PTR_ERR(va->fsgen);
1480+
goto err_clkout;
1481+
}
1482+
14761483
ret = devm_snd_soc_register_component(dev, &va_macro_component_drv,
14771484
va_macro_dais,
14781485
ARRAY_SIZE(va_macro_dais));

sound/soc/codecs/max98373-i2c.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,6 @@ static bool max98373_volatile_reg(struct device *dev, unsigned int reg)
442442
{
443443
switch (reg) {
444444
case MAX98373_R2000_SW_RESET ... MAX98373_R2009_INT_FLAG3:
445-
case MAX98373_R203E_AMP_PATH_GAIN:
446445
case MAX98373_R2054_MEAS_ADC_PVDD_CH_READBACK:
447446
case MAX98373_R2055_MEAS_ADC_THERM_CH_READBACK:
448447
case MAX98373_R20B6_BDE_CUR_STATE_READBACK:

sound/soc/sh/rcar/ssiu.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@ static struct rsnd_mod_ops rsnd_ssiu_ops_gen2 = {
417417
.name = SSIU_NAME,
418418
.dma_req = rsnd_ssiu_dma_req,
419419
.init = rsnd_ssiu_init_gen2,
420+
.quit = rsnd_ssiu_quit,
420421
.start = rsnd_ssiu_start_gen2,
421422
.stop = rsnd_ssiu_stop_gen2,
422423
.get_status = rsnd_ssiu_get_status,

0 commit comments

Comments
 (0)