]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: fm801: Gracefully handle failure of tuner auto-detect
authorBen Hutchings <ben@decadent.org.uk>
Thu, 22 Sep 2011 13:39:52 +0000 (14:39 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 22 Sep 2011 13:52:52 +0000 (15:52 +0200)
commita670fd0c262624a6acd5352e248d7653bbc27db2
tree33b86eb2debe778484049b296667a1bf6f6b4da9
parent98efa8abc4b0d93d3e850e42af2b8fdef766653b
ALSA: fm801: Gracefully handle failure of tuner auto-detect

Commit ff14a64ada6fd5fc5d7ca4a1d6d5f96e412722d1
("ALSA: fm801: add error handling if auto-detect fails") seems to
break systems that were previously working without a tuner.

As a bonus, this should fix init and cleanup for the case where the
tuner is explicitly disabled.

Reported-and-tested-by: Hor Jiun Shyong <jiunshyong@gmail.com>
References: http://bugs.debian.org/641946
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: stable@kernel.org [v3.0+]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/fm801.c