diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-02-27 16:43:26 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-03-03 05:37:57 -0500 |
commit | 2f35c630f7d49efdef29b58d81ed2531ddd916d9 (patch) | |
tree | cc3bc76348619756d7eaece66c2d0d44857acc53 /sound/pci/hda/patch_ca0132.c | |
parent | bcd96557bd0ab1129fcdde073d5700aed8fcb942 (diff) |
ALSA: hda - Use standard workqueue for unsol and jack events
The events that are handled by HD-audio drivers are no frequent and
urgent ones, so we can use the standard workqueue without any problem
nowadays.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_ca0132.c')
-rw-r--r-- | sound/pci/hda/patch_ca0132.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index 555781fad26f..72d20652df50 100644 --- a/sound/pci/hda/patch_ca0132.c +++ b/sound/pci/hda/patch_ca0132.c | |||
@@ -4410,8 +4410,7 @@ static void hp_callback(struct hda_codec *codec, struct hda_jack_callback *cb) | |||
4410 | * state machine run. | 4410 | * state machine run. |
4411 | */ | 4411 | */ |
4412 | cancel_delayed_work_sync(&spec->unsol_hp_work); | 4412 | cancel_delayed_work_sync(&spec->unsol_hp_work); |
4413 | queue_delayed_work(codec->bus->workq, &spec->unsol_hp_work, | 4413 | schedule_delayed_work(&spec->unsol_hp_work, msecs_to_jiffies(500)); |
4414 | msecs_to_jiffies(500)); | ||
4415 | cb->tbl->block_report = 1; | 4414 | cb->tbl->block_report = 1; |
4416 | } | 4415 | } |
4417 | 4416 | ||