|
@@ -1065,8 +1065,14 @@ int snd_hda_add_pincfg(struct hda_codec *codec, struct snd_array *list,
|
|
{
|
|
{
|
|
struct hda_pincfg *pin;
|
|
struct hda_pincfg *pin;
|
|
|
|
|
|
|
|
+ /* the check below may be invalid when pins are added by a fixup
|
|
|
|
+ * dynamically (e.g. via snd_hda_codec_update_widgets()), so disabled
|
|
|
|
+ * for now
|
|
|
|
+ */
|
|
|
|
+ /*
|
|
if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN)
|
|
if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN)
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
|
|
+ */
|
|
|
|
|
|
pin = look_up_pincfg(codec, list, nid);
|
|
pin = look_up_pincfg(codec, list, nid);
|
|
if (!pin) {
|
|
if (!pin) {
|