aboutsummaryrefslogtreecommitdiff
path: root/sound/drivers/serial-u16550.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-07-29 14:23:09 +0200
committerTakashi Iwai <tiwai@suse.de>2009-07-29 14:28:37 +0200
commit62558ce15759ee93223132258588320967e1e521 (patch)
treef2c7f7b7fb63105ce56e11934fb712ce76a86c44 /sound/drivers/serial-u16550.c
parent50c62f068ee67b5a0178855f502f4ea2ee931eed (diff)
ALSA: hda - Avoid overwrite of jack events with STAC/IDT
Since only one event can be associated to a (pin) widget, it's safer to avoid the multiple mapping. This patch fixes the behavior of the STAC/IDT codec driver. Now stac_get_event() doesn't take the type argument but simply returns the first hit element. Then enable_pin_detect() checks the validity of the type, and returns non-zero only if a valid entry. The caller can call stac_issue_unsol_event() after checking the return value. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers/serial-u16550.c')
0 files changed, 0 insertions, 0 deletions