Skip to content

Commit f5b92c7

Browse files
committed
ASoC: don't set dapm->bias_level directly
Merge series from Kuninori Morimoto <[email protected]>: We have many set_bias_level functions, thus dapm->bias_level should be handled by owner function, not by its callback functions.
2 parents c61da55 + 67bdd67 commit f5b92c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sound/soc/codecs/rt700.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ static int rt700_set_bias_level(struct snd_soc_component *component,
861861
default:
862862
break;
863863
}
864-
dapm->bias_level = level;
864+
865865
return 0;
866866
}
867867

sound/soc/codecs/rt715.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ static int rt715_set_bias_level(struct snd_soc_component *component,
775775
default:
776776
break;
777777
}
778-
dapm->bias_level = level;
778+
779779
return 0;
780780
}
781781

0 commit comments

Comments
 (0)