diff options
author | Dan Carpenter <error27@gmail.com> | 2011-05-26 10:47:35 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-06-03 10:11:17 +0200 |
commit | 9676001559fce06e37c7dc230ab275f605556176 (patch) | |
tree | 1efc1b578374b3b14519746bdd78188ba4d0c66a /sound/pci/asihpi/hpidspcd.c | |
parent | ALSA: hda - Check pin support EAPD in ad198x_power_eapd_write (diff) | |
download | linux-9676001559fce06e37c7dc230ab275f605556176.tar.xz linux-9676001559fce06e37c7dc230ab275f605556176.zip |
ALSA: fm801: add error handling if auto-detect fails
In the original code if auto detect failed and tea575x_tuner == 4
then we copy bogus information to chip->tea.card. I've changed the
autodetect code to cleanup and return -ENODEV on error instead.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions