aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/boards/broadwell.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2018-10-21 16:59:23 +0100
committerMark Brown <broonie@kernel.org>2018-10-21 16:59:23 +0100
commit65dfb6d6dd2850f3f99f08536d2b14190350c854 (patch)
treee8b0468b3e4d4d54dbea68c9ffce9fd8648be2aa /sound/soc/intel/boards/broadwell.c
parentMerge branch 'asoc-4.19' into asoc-linus (diff)
parentASoC: sun4i-i2s: move code from startup/shutdown hooks into pm_runtime hooks (diff)
downloadlinux-dev-65dfb6d6dd2850f3f99f08536d2b14190350c854.tar.xz
linux-dev-65dfb6d6dd2850f3f99f08536d2b14190350c854.zip
Merge branch 'asoc-4.20' into asoc-next
Diffstat (limited to 'sound/soc/intel/boards/broadwell.c')
-rw-r--r--sound/soc/intel/boards/broadwell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/intel/boards/broadwell.c b/sound/soc/intel/boards/broadwell.c
index 7b0ee67b4fc8..68e6543e6cb0 100644
--- a/sound/soc/intel/boards/broadwell.c
+++ b/sound/soc/intel/boards/broadwell.c
@@ -223,7 +223,7 @@ static struct snd_soc_dai_link broadwell_rt286_dais[] = {
static int broadwell_suspend(struct snd_soc_card *card){
struct snd_soc_component *component;
- list_for_each_entry(component, &card->component_dev_list, card_list) {
+ for_each_card_components(card, component) {
if (!strcmp(component->name, "i2c-INT343A:00")) {
dev_dbg(component->dev, "disabling jack detect before going to suspend.\n");
@@ -237,7 +237,7 @@ static int broadwell_suspend(struct snd_soc_card *card){
static int broadwell_resume(struct snd_soc_card *card){
struct snd_soc_component *component;
- list_for_each_entry(component, &card->component_dev_list, card_list) {
+ for_each_card_components(card, component) {
if (!strcmp(component->name, "i2c-INT343A:00")) {
dev_dbg(component->dev, "enabling jack detect for resume.\n");