diff options
-rw-r--r-- | sound/soc/soc-dapm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 60c8dec49480..02b6ac46b278 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c | |||
@@ -710,8 +710,8 @@ static int dapm_seq_compare(struct snd_soc_dapm_widget *a, | |||
710 | return sort[a->id] - sort[b->id]; | 710 | return sort[a->id] - sort[b->id]; |
711 | if (a->reg != b->reg) | 711 | if (a->reg != b->reg) |
712 | return a->reg - b->reg; | 712 | return a->reg - b->reg; |
713 | if (a->codec != b->codec) | 713 | if (a->dapm != b->dapm) |
714 | return (unsigned long)a->codec - (unsigned long)b->codec; | 714 | return (unsigned long)a->dapm - (unsigned long)b->dapm; |
715 | 715 | ||
716 | return 0; | 716 | return 0; |
717 | } | 717 | } |