ALSA: hda - Revert the codec probe at control-creation errors
authorTakashi Iwai <tiwai@suse.de>
Mon, 2 Mar 2009 09:44:15 +0000 (10:44 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 2 Mar 2009 09:44:15 +0000 (10:44 +0100)
commitf93d461bcde6ac3db542361c00a7e4167f88176d
treeb4a64791fc78adbce9f245093bf802f43094c1d6
parentd1f1af2dbf8207db590853a59bec465c4f68cfdc
ALSA: hda - Revert the codec probe at control-creation errors

Revert the codec probe instead of returning the error to the driver
when any error occurs at creating the control elements.
The control element conflict can be non-fatal in many cases,
especially if it comes from the digital-only codec.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c