information before modified by the driver. Of course, the driver
isn't usable with `probe_only=1`. But you can continue the
configuration via hwdep sysfs file if hda-reconfig option is enabled.
+Using `probe_only` mask 2 skips the reset of HDA codecs (use
+`probe_only=3` as module option). The hwdep interface can be used
+to determine the BIOS codec initialization.
hda-verb
}
EXPORT_SYMBOL_HDA(snd_hda_bus_new);
-#define is_hwio_config(codec) \
- (codec->modelname && !strcmp(codec->modelname, "hwio"))
#ifdef CONFIG_SND_HDA_GENERIC
#define is_generic_config(codec) \
- ((codec->modelname && !strcmp(codec->modelname, "generic")) || \
- is_hwio_config(codec))
+ (codec->modelname && !strcmp(codec->modelname, "generic"))
#else
-#define is_generic_config(codec) \
- is_hwio_config(codec)
+#define is_generic_config(codec) 0
#endif
#ifdef MODULE
}
if (is_generic_config(codec)) {
- if (is_hwio_config(codec))
- goto patched;
err = snd_hda_parse_generic_codec(codec);
goto patched;
}
/* initialize chip */
azx_init_pci(chip);
- azx_init_chip(chip, model[dev] == NULL || strcmp(model[dev], "hwio"));
+ azx_init_chip(chip, (probe_only[dev] & 2) == 0);
/* codec detection */
if (!chip->codec_mask) {
goto out_free;
}
#endif
- if (!probe_only[dev]) {
+ if ((probe_only[dev] & 1) == 0) {
err = azx_codec_configure(chip);
if (err < 0)
goto out_free;