/* When cap bits have been already read, this doesn't read again but returns the cached value.  */
u32 snd_hda_query_pin_caps(struct hda_codec *codec, hda_nid_t nid)
/* When cap bits have been already read, this doesn't read again but returns the cached value.  */
u32 snd_hda_query_pin_caps(struct hda_codec *codec, hda_nid_t nid)
{
	return query_caps_hash(codec, nid, HDA_HASH_PINCAP_KEY(nid),
			       read_pin_cap);
}