diff options
Diffstat (limited to 'sound/soc/soc-jack.c')
-rw-r--r-- | sound/soc/soc-jack.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/soc/soc-jack.c b/sound/soc/soc-jack.c index 0c172938b82a..fa0fd8ddae90 100644 --- a/sound/soc/soc-jack.c +++ b/sound/soc/soc-jack.c | |||
@@ -83,11 +83,6 @@ void snd_soc_jack_report(struct snd_soc_jack *jack, int status, int mask) | |||
83 | jack->status &= ~mask; | 83 | jack->status &= ~mask; |
84 | jack->status |= status & mask; | 84 | jack->status |= status & mask; |
85 | 85 | ||
86 | /* The DAPM sync is expensive enough to be worth skipping. | ||
87 | * However, empty mask means pin synchronization is desired. */ | ||
88 | if (mask && (jack->status == oldstatus)) | ||
89 | goto out; | ||
90 | |||
91 | trace_snd_soc_jack_notify(jack, status); | 86 | trace_snd_soc_jack_notify(jack, status); |
92 | 87 | ||
93 | list_for_each_entry(pin, &jack->pins, list) { | 88 | list_for_each_entry(pin, &jack->pins, list) { |
@@ -109,7 +104,6 @@ void snd_soc_jack_report(struct snd_soc_jack *jack, int status, int mask) | |||
109 | 104 | ||
110 | snd_jack_report(jack->jack, jack->status); | 105 | snd_jack_report(jack->jack, jack->status); |
111 | 106 | ||
112 | out: | ||
113 | mutex_unlock(&jack->mutex); | 107 | mutex_unlock(&jack->mutex); |
114 | } | 108 | } |
115 | EXPORT_SYMBOL_GPL(snd_soc_jack_report); | 109 | EXPORT_SYMBOL_GPL(snd_soc_jack_report); |